Module: Camper::Logging
- Included in:
- Client, Configuration, PaginatedResponse, PaginationData, Request
- Defined in:
- lib/camper/logging.rb
Class Attribute Summary collapse
-
.logger ⇒ Object
writeonly
Sets the attribute logger.
Instance Attribute Summary collapse
-
#logger ⇒ Logger
The logger.
Class Attribute Details
.logger=(value) ⇒ Object (writeonly)
Sets the attribute logger
9 10 11 |
# File 'lib/camper/logging.rb', line 9 def logger=(value) @logger = value end |
Instance Attribute Details
#logger ⇒ Logger
Returns The logger.
14 15 16 |
# File 'lib/camper/logging.rb', line 14 def logger @logger ||= default_logger end |