Module: Camp3::Logging

Included in:
Client, Configuration, Request
Defined in:
lib/camp3/logging.rb

Class Attribute Summary collapse

Instance Attribute Summary collapse

Class Attribute Details

.logger=(value) ⇒ Object (writeonly)

Sets the attribute logger

Parameters:

  • value

    the value to set the attribute logger to.



9
10
11
# File 'lib/camp3/logging.rb', line 9

def logger=(value)
  @logger = value
end

Instance Attribute Details

#loggerLogger

Returns The logger.

Returns:

  • (Logger)

    The logger.



14
15
16
# File 'lib/camp3/logging.rb', line 14

def logger
  @logger ||= default_logger
end