Class: Cuniculus::Logger::Formatters::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/cuniculus/logger.rb

Direct Known Subclasses

Standard

Instance Method Summary collapse

Instance Method Details

#tidObject



15
16
17
# File 'lib/cuniculus/logger.rb', line 15

def tid
  Thread.current["cuniculus_tid"] ||= (Thread.current.object_id ^ ::Process.pid).to_s(36)
end