Class: GEPA::Logging::Logger

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/gepa/logging/logger.rb

Overview

Minimal logger interface used across GEPA components.

Direct Known Subclasses

BufferingLogger, CompositeLogger

Instance Method Summary collapse

Constructor Details

#initialize(io: $stdout) ⇒ Logger

Returns a new instance of Logger.



11
12
13
# File 'lib/gepa/logging/logger.rb', line 11

def initialize(io: $stdout)
  @io = io
end

Instance Method Details

#log(message) ⇒ Object



15
16
17
# File 'lib/gepa/logging/logger.rb', line 15

def log(message)
  write(message)
end