Class: GoogleDistanceMatrix::Logger
- Inherits:
-
Object
- Object
- GoogleDistanceMatrix::Logger
- Defined in:
- lib/google_distance_matrix/logger.rb
Overview
Logger class for Google Distance Matrix
Constant Summary collapse
- PREFIXES =
%w[google_distance_matrix].freeze
- LEVELS =
%w[fatal error warn info debug].freeze
Instance Attribute Summary collapse
-
#backend ⇒ Object
readonly
Returns the value of attribute backend.
Instance Method Summary collapse
-
#initialize(backend = nil) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(backend = nil) ⇒ Logger
Returns a new instance of Logger.
11 12 13 |
# File 'lib/google_distance_matrix/logger.rb', line 11 def initialize(backend = nil) @backend = backend end |
Instance Attribute Details
#backend ⇒ Object (readonly)
Returns the value of attribute backend.
9 10 11 |
# File 'lib/google_distance_matrix/logger.rb', line 9 def backend @backend end |