| 1 | 11 | ▶ | use Object::Pad; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | # ABSTRACT: A log factory for OpenTelemetry | ||
| 3 | |||
| 4 | package OpenTelemetry::Logs::Logger; | ||
| 5 | |||
| 6 | 11 | our $VERSION = '0.040'; | |
| 7 | |||
| 8 | # TODO: Should this implement an interface like that of Mojo::Log | ||
| 9 | # or Log::Any? It would mean that writing adapters like | ||
| 10 | # Log::Any::Adapter::OpenTelemetry for other loggers (eg. Log::ger, | ||
| 11 | # Dancer2::Logger) would be simpler, since the high-level logging | ||
| 12 | # interface would already exist. I don't think this goes against | ||
| 13 | # the standard. | ||
| 14 | class OpenTelemetry::Logs::Logger { | ||
| 15 | 1 | ▶ | method emit_record ( %args ) { } |
|
Subroutine
emit_record: called CC=1 SCAR=0.0
Pod
documented
| |||
| 16 | 11 | } | |