Class: Loggers::TraceLogger
- Inherits:
-
Object
- Object
- Loggers::TraceLogger
- Defined in:
- lib/xray_method_tracer/loggers/trace_logger.rb
Instance Method Summary collapse
- #debug(message) ⇒ Object
- #info(message) ⇒ Object
-
#initialize ⇒ TraceLogger
constructor
A new instance of TraceLogger.
- #warn(message) ⇒ Object
Constructor Details
#initialize ⇒ TraceLogger
Returns a new instance of TraceLogger.
7 8 9 |
# File 'lib/xray_method_tracer/loggers/trace_logger.rb', line 7 def initialize @logger = Logger.new($stdout) end |
Instance Method Details
#debug(message) ⇒ Object
11 12 13 |
# File 'lib/xray_method_tracer/loggers/trace_logger.rb', line 11 def debug() @logger.debug("X-Ray Method Tracer: #{}") end |
#info(message) ⇒ Object
15 16 17 |
# File 'lib/xray_method_tracer/loggers/trace_logger.rb', line 15 def info() @logger.info("X-Ray Method Tracer: #{}") end |
#warn(message) ⇒ Object
19 20 21 |
# File 'lib/xray_method_tracer/loggers/trace_logger.rb', line 19 def warn() @logger.warn("X-Ray Method Tracer: #{}") end |