Class: Cosmo::Logger::BaseFormatter
- Inherits:
-
Logger::Formatter
- Object
- Logger::Formatter
- Cosmo::Logger::BaseFormatter
- Defined in:
- lib/cosmo/logger.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#pid ⇒ Object
35 36 37 |
# File 'lib/cosmo/logger.rb', line 35 def pid ::Process.pid end |
#tid ⇒ Object
31 32 33 |
# File 'lib/cosmo/logger.rb', line 31 def tid (Thread.current.object_id ^ pid).to_s(36) end |