Class: Yell::Adapters::Gelf
- Inherits:
-
Base
- Object
- Base
- Yell::Adapters::Gelf
- Defined in:
- lib/yell/adapters/gelf.rb
Overview
GELF for Graylog2.
Defined Under Namespace
Classes: Sender
Constant Summary collapse
- Severities =
Graylog severities
[7, 6, 4, 3, 2, 1]
Instance Attribute Summary collapse
-
#facility ⇒ Object
Accessor to the Graylog facility.
-
#host ⇒ Object
Accessor to the Graylog host.
-
#max_chunk_size ⇒ Object
Accessor to the Graylog chunk size.
-
#port ⇒ Object
Accessor to the Graylog port.
-
#source ⇒ Object
Accessor to the Graylog source.
Instance Attribute Details
#facility ⇒ Object
Accessor to the Graylog facility
99 100 101 |
# File 'lib/yell/adapters/gelf.rb', line 99 def facility @facility end |
#host ⇒ Object
Accessor to the Graylog host
90 91 92 |
# File 'lib/yell/adapters/gelf.rb', line 90 def host @host end |
#max_chunk_size ⇒ Object
Accessor to the Graylog chunk size
102 103 104 |
# File 'lib/yell/adapters/gelf.rb', line 102 def max_chunk_size @max_chunk_size end |
#port ⇒ Object
Accessor to the Graylog port
93 94 95 |
# File 'lib/yell/adapters/gelf.rb', line 93 def port @port end |
#source ⇒ Object
Accessor to the Graylog source
96 97 98 |
# File 'lib/yell/adapters/gelf.rb', line 96 def source @source end |