Class: GEPA::Logging::Logger
- Inherits:
-
Object
- Object
- GEPA::Logging::Logger
- Extended by:
- Forwardable
- Defined in:
- lib/gepa/logging/logger.rb
Overview
Minimal logger interface used across GEPA components.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(io: $stdout) ⇒ Logger
constructor
A new instance of Logger.
- #log(message) ⇒ Object
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() write() end |