Class: Fluent::Logger::LoggerBase
- Inherits:
-
Object
- Object
- Fluent::Logger::LoggerBase
- Defined in:
- lib/fluent/logger/logger_base.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
-
#close ⇒ Object
def post_with_time(tag, map) end.
- #post(tag, map) ⇒ Object
Class Method Details
Instance Method Details
#close ⇒ Object
def post_with_time(tag, map) end
34 35 |
# File 'lib/fluent/logger/logger_base.rb', line 34 def close end |
#post(tag, map) ⇒ Object
26 27 28 29 |
# File 'lib/fluent/logger/logger_base.rb', line 26 def post(tag, map) raise ArgumentError.new("Second argument should kind of Hash (tag: #{map})") unless map.kind_of? Hash post_with_time(tag, map, Time.now) end |