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.



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_nameObject

Returns the value of attribute app_name.



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

def app_name
  @app_name
end

#envObject

Returns the value of attribute env.



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

def env
  @env
end

#formatterObject

Returns the value of attribute formatter.



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

def formatter
  @formatter
end

#sensitive_keywordsObject

Returns the value of attribute sensitive_keywords.



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

def sensitive_keywords
  @sensitive_keywords
end