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.
Instance Attribute Details
#facility ⇒ Object
Accessor to the Graylog facility
95 96 97 |
# File 'lib/yell/adapters/gelf.rb', line 95 def facility @facility end |
#host ⇒ Object
Accessor to the Graylog host
89 90 91 |
# File 'lib/yell/adapters/gelf.rb', line 89 def host @host end |
#max_chunk_size ⇒ Object
Accessor to the Graylog chunk size
98 99 100 |
# File 'lib/yell/adapters/gelf.rb', line 98 def max_chunk_size @max_chunk_size end |
#port ⇒ Object
Accessor to the Graylog port
92 93 94 |
# File 'lib/yell/adapters/gelf.rb', line 92 def port @port end |