Class: TeeLogger::Configration::Configration

Inherits:
Struct
  • Object
show all
Defined in:
lib/tee_logger/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#datetime_format ⇒ String

Returns the current value of datetime_format.

Returns:

  • (String) —

    the current value of datetime_format



12
13
14
# File 'lib/tee_logger/configuration.rb', line 12

def datetime_format
  @datetime_format
end

#formatter ⇒ Logger::Formatter, Proc

Returns the current value of formatter.

Returns:

  • (Logger::Formatter, Proc) —

    the current value of formatter



12
13
14
# File 'lib/tee_logger/configuration.rb', line 12

def formatter
  @formatter
end

#level ⇒ Logger::Severity, Integer

Returns the current value of level.

Returns:

  • (Logger::Severity, Integer) —

    the current value of level



12
13
14
# File 'lib/tee_logger/configuration.rb', line 12

def level
  @level
end

#logdev ⇒ String, File

Returns the current value of logdev.

Returns:

  • (String, File) —

    the current value of logdev



12
13
14
# File 'lib/tee_logger/configuration.rb', line 12

def logdev
  @logdev
end

#progname ⇒ String, Symbol

Returns the current value of progname.

Returns:

  • (String, Symbol) —

    the current value of progname



12
13
14
# File 'lib/tee_logger/configuration.rb', line 12

def progname
  @progname
end