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.
-
#sensitive_keywords ⇒ Object
Returns the value of attribute sensitive_keywords.
Instance Method Summary collapse
-
#initialize ⇒ LoggerConfiguration
constructor
A new instance of LoggerConfiguration.
Constructor Details
#initialize ⇒ LoggerConfiguration
Returns a new instance of LoggerConfiguration.
35 36 37 38 39 40 |
# File 'lib/pier_logging.rb', line 35 def initialize @app_name = nil @env = nil @formatter = Formatter::Json.new @sensitive_keywords = [] end |
Instance Attribute Details
#app_name ⇒ Object
Returns the value of attribute app_name.
33 34 35 |
# File 'lib/pier_logging.rb', line 33 def app_name @app_name end |
#env ⇒ Object
Returns the value of attribute env.
33 34 35 |
# File 'lib/pier_logging.rb', line 33 def env @env end |
#formatter ⇒ Object
Returns the value of attribute formatter.
33 34 35 |
# File 'lib/pier_logging.rb', line 33 def formatter @formatter end |
#sensitive_keywords ⇒ Object
Returns the value of attribute sensitive_keywords.
33 34 35 |
# File 'lib/pier_logging.rb', line 33 def sensitive_keywords @sensitive_keywords end |