UNPKG
pino-splunk-events
Version:
latest (0.0.11)
0.0.11
0.0.10-2
0.0.10-1
0.0.10-0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Pino transport layer to splunk-events
github.com/vtex/pino-splunk-events
vtex/pino-splunk-events
pino-splunk-events
/
lib
/
core
/
ConsoleLevel.d.ts
4 lines
(3 loc)
•
253 B
TypeScript
View Raw
1
2
3
4
import
type
{
PinoLevelLabel
,
SplunkLog
}
from
'./toSplunkEvent'
;
export
declare
type
ConsoleLevel
=
Exclude
<
PinoLevelLabel
,
'fatal'
>;
export
declare
const
getConsoleLevelFromSplunkLog
:
(
log
:
SplunkLog
) =>
"error"
|
"warn"
|
"info"
|
"debug"
|
"trace"
;