Class: Utility
- Inherits:
-
Object
- Object
- Utility
- Defined in:
- lib/fluent/plugin/utility.rb
Class Method Summary collapse
-
.get_time ⇒ Object
one place to control time format for logginggit.
Class Method Details
.get_time ⇒ Object
one place to control time format for logginggit
3 4 5 |
# File 'lib/fluent/plugin/utility.rb', line 3 def self.get_time() return Time.now.strftime("%Y-%m-%d %H:%M:%S") end |