Class: TraceViz::Loggers::TraceLogger
- Inherits:
-
BaseLogger
- Object
- BaseLogger
- TraceViz::Loggers::TraceLogger
- Defined in:
- lib/trace_viz/loggers/trace_logger.rb
Instance Method Summary collapse
-
#initialize(trace_data) ⇒ TraceLogger
constructor
A new instance of TraceLogger.
- #log ⇒ Object
Methods inherited from BaseLogger
Constructor Details
#initialize(trace_data) ⇒ TraceLogger
Returns a new instance of TraceLogger.
10 11 12 13 14 15 |
# File 'lib/trace_viz/loggers/trace_logger.rb', line 10 def initialize(trace_data) super() @trace_data = trace_data @formatter_factory = Formatters::Log::FormatterFactory.new end |
Instance Method Details
#log ⇒ Object
17 18 19 |
# File 'lib/trace_viz/loggers/trace_logger.rb', line 17 def log (log_level, ) end |