Module: Log::Substitute
- Defined in:
- lib/log/substitute.rb
Defined Under Namespace
Classes: Log
Class Method Summary collapse
Class Method Details
.build ⇒ Object
3 4 5 6 7 8 |
# File 'lib/log/substitute.rb', line 3 def self.build instance = Log.build(subject) sink = Log.register_telemetry_sink(instance) instance.telemetry_sink = sink instance end |
.subject ⇒ Object
10 11 12 |
# File 'lib/log/substitute.rb', line 10 def self.subject '(substitute logger)' end |