Class: PierLogging::LoggerConfiguration
- Inherits:
-
Object
- Object
- PierLogging::LoggerConfiguration
- Defined in:
- lib/pier_logging.rb
Instance Attribute Summary collapse
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#env ⇒ Object
Returns the value of attribute env.
-
#formatter ⇒ Object
Returns the value of attribute formatter.
Instance Method Summary collapse
-
#initialize ⇒ LoggerConfiguration
constructor
A new instance of LoggerConfiguration.
Constructor Details
#initialize ⇒ LoggerConfiguration
Returns a new instance of LoggerConfiguration.
34 35 36 37 38 |
# File 'lib/pier_logging.rb', line 34 def initialize @app_name = nil @env = nil @formatter = Formatter::Json.new end |
Instance Attribute Details
#app_name ⇒ Object
Returns the value of attribute app_name.
32 33 34 |
# File 'lib/pier_logging.rb', line 32 def app_name @app_name end |
#env ⇒ Object
Returns the value of attribute env.
32 33 34 |
# File 'lib/pier_logging.rb', line 32 def env @env end |
#formatter ⇒ Object
Returns the value of attribute formatter.
32 33 34 |
# File 'lib/pier_logging.rb', line 32 def formatter @formatter end |