Class: Langfuse::Client::StdoutLogDevice
- Inherits:
-
Object
- Object
- Langfuse::Client::StdoutLogDevice
- Defined in:
- lib/langfuse/client.rb
Overview
Log device that resolves $stdout at write time so output redirection (e.g. in tests) keeps working after the logger was created.
Instance Method Summary collapse
Instance Method Details
#close ⇒ Object
43 |
# File 'lib/langfuse/client.rb', line 43 def close; end |
#flush ⇒ Object
45 46 47 |
# File 'lib/langfuse/client.rb', line 45 def flush $stdout.flush end |
#write(message) ⇒ Object
39 40 41 |
# File 'lib/langfuse/client.rb', line 39 def write() $stdout.write() end |