Class: GoogleDistanceMatrix::Logger
- Inherits:
-
Object
- Object
- GoogleDistanceMatrix::Logger
- Defined in:
- lib/google_distance_matrix/logger.rb
Constant Summary collapse
- PREFIXES =
%w[google_distance_matrix]
- LEVELS =
%w[fatal error warn info debug]
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.
8 9 10 |
# File 'lib/google_distance_matrix/logger.rb', line 8 def initialize(backend = nil) @backend = backend end |
Instance Attribute Details
#backend ⇒ Object (readonly)
Returns the value of attribute backend.
6 7 8 |
# File 'lib/google_distance_matrix/logger.rb', line 6 def backend @backend end |