Class: Kuroko2::ExecutionLogger::Fluent
- Inherits:
-
Object
- Object
- Kuroko2::ExecutionLogger::Fluent
- Defined in:
- lib/autoload/kuroko2/execution_logger/fluent.rb
Instance Method Summary collapse
- #get_logs(token = nil) ⇒ Object
-
#initialize(tag: nil, option: {}) ⇒ Fluent
constructor
A new instance of Fluent.
- #send_log(message) ⇒ Object
Constructor Details
#initialize(tag: nil, option: {}) ⇒ Fluent
3 4 5 |
# File 'lib/autoload/kuroko2/execution_logger/fluent.rb', line 3 def initialize(tag: nil, option: {}) @logger = Fluent::Logger::FluentLogger.new(tag, option) end |
Instance Method Details
#get_logs(token = nil) ⇒ Object
11 12 13 |
# File 'lib/autoload/kuroko2/execution_logger/fluent.rb', line 11 def get_logs(token = nil) end |
#send_log(message) ⇒ Object
7 8 9 |
# File 'lib/autoload/kuroko2/execution_logger/fluent.rb', line 7 def send_log() @logger.post end |