@tigorhutasuhut/telemetry-js - v0.7.3
Preparing search index...
Logger
Interface Logger
Structured logger with dual output (stderr + OTLP).
interface
Logger
{
debug
(
message
:
string
,
attrs
?:
LogAttributes
,
opts
?:
LogOptions
)
:
void
;
error
(
message
:
string
,
attrs
?:
LogAttributes
,
opts
?:
LogOptions
)
:
void
;
info
(
message
:
string
,
attrs
?:
LogAttributes
,
opts
?:
LogOptions
)
:
void
;
warn
(
message
:
string
,
attrs
?:
LogAttributes
,
opts
?:
LogOptions
)
:
void
;
}
Index
Methods
debug
error
info
warn
Methods
debug
debug
(
message
:
string
,
attrs
?:
LogAttributes
,
opts
?:
LogOptions
)
:
void
Parameters
message
:
string
Optional
attrs
:
LogAttributes
Optional
opts
:
LogOptions
Returns
void
error
error
(
message
:
string
,
attrs
?:
LogAttributes
,
opts
?:
LogOptions
)
:
void
Parameters
message
:
string
Optional
attrs
:
LogAttributes
Optional
opts
:
LogOptions
Returns
void
info
info
(
message
:
string
,
attrs
?:
LogAttributes
,
opts
?:
LogOptions
)
:
void
Parameters
message
:
string
Optional
attrs
:
LogAttributes
Optional
opts
:
LogOptions
Returns
void
warn
warn
(
message
:
string
,
attrs
?:
LogAttributes
,
opts
?:
LogOptions
)
:
void
Parameters
message
:
string
Optional
attrs
:
LogAttributes
Optional
opts
:
LogOptions
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
debug
error
info
warn
@tigorhutasuhut/telemetry-js - v0.7.3
Loading...
Structured logger with dual output (stderr + OTLP).