Class: Logatron::Contexts
- Inherits:
-
Object
- Object
- Logatron::Contexts
- Defined in:
- lib/logatron/contexts.rb
Class Method Summary collapse
Class Method Details
.msg_id ⇒ Object
11 12 13 |
# File 'lib/logatron/contexts.rb', line 11 def self.msg_id Thread.current[MSG_ID] end |
.msg_id=(id) ⇒ Object
15 16 17 |
# File 'lib/logatron/contexts.rb', line 15 def self.msg_id=(id) Thread.current[MSG_ID] = id end |
.site ⇒ Object
3 4 5 |
# File 'lib/logatron/contexts.rb', line 3 def self.site Thread.current[SITE] end |
.site=(site) ⇒ Object
7 8 9 |
# File 'lib/logatron/contexts.rb', line 7 def self.site=(site) Thread.current[SITE] = site end |