Class: PierLogging::LoggerConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/pier_logging.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLoggerConfiguration

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_nameObject

Returns the value of attribute app_name.



32
33
34
# File 'lib/pier_logging.rb', line 32

def app_name
  @app_name
end

#envObject

Returns the value of attribute env.



32
33
34
# File 'lib/pier_logging.rb', line 32

def env
  @env
end

#formatterObject

Returns the value of attribute formatter.



32
33
34
# File 'lib/pier_logging.rb', line 32

def formatter
  @formatter
end