probot
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Logger
With
Target
Ring
Buffer
Rotating
File
Stream
Logger
Options
Ring
Buffer
Options
Rotating
File
Stream
Options
Serializers
Std
Serializers
Stream
Log
Level
Log
Level
String
Serializer
constructor
DEBUG
ERROR
FATAL
INFO
TRACE
WARN
child
debug
error
fatal
fields
info
level
From
Name
name
From
Level
src
std
Serializers
target
trace
warn
add
Listener
add
Serializers
add
Stream
create
Logger
emit
event
Names
get
Max
Listeners
level
levels
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
reopen
File
Streams
resolve
Level
safe
Cycles
set
Max
Listeners
Hierarchy
Logger
LoggerWithTarget
Callable
__call
(
)
:
boolean
__call
(
...
params
:
any
[]
)
:
void
Returns
boolean
Parameters
Rest
...
params:
any
[]
Returns
void
Index
Classes
Ring
Buffer
Rotating
File
Stream
Interfaces
Logger
Options
Ring
Buffer
Options
Rotating
File
Stream
Options
Serializers
Std
Serializers
Stream
Type aliases
Log
Level
Log
Level
String
Serializer
Constructors
constructor
Properties
DEBUG
ERROR
FATAL
INFO
TRACE
WARN
child
debug
error
fatal
fields
info
level
From
Name
name
From
Level
src
std
Serializers
target
trace
warn
Methods
add
Listener
add
Serializers
add
Stream
create
Logger
emit
event
Names
get
Max
Listeners
level
levels
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
reopen
File
Streams
resolve
Level
safe
Cycles
set
Max
Listeners
Type aliases
Log
Level
Log
Level
:
LogLevelString
|
number
Log
Level
String
Log
Level
String
:
"trace"
|
"debug"
|
"info"
|
"warn"
|
"error"
|
"fatal"
Serializer
Serializer
:
(
input
:
any
)
=>
any
Type declaration
(
input
:
any
)
:
any
Parameters
input:
any
Returns
any
Constructors
constructor
new
Logger
With
Target
(
options
:
LoggerOptions
)
:
LoggerWithTarget
Parameters
options:
LoggerOptions
Returns
LoggerWithTarget
Properties
DEBUG
DEBUG
:
number
ERROR
ERROR
:
number
FATAL
FATAL
:
number
INFO
INFO
:
number
TRACE
TRACE
:
number
WARN
WARN
:
number
child
child
:
(
attrs
:
ChildArgs
)
=>
LoggerWithTarget
Type declaration
(
attrs
:
ChildArgs
)
:
LoggerWithTarget
Parameters
attrs:
ChildArgs
Returns
LoggerWithTarget
debug
debug
:
LoggerWithTarget
error
error
:
LoggerWithTarget
fatal
fatal
:
LoggerWithTarget
fields
fields
:
any
info
info
:
LoggerWithTarget
level
From
Name
level
From
Name
:
{}
Type declaration
name
From
Level
name
From
Level
:
{}
Type declaration
[
level:
number
]:
string
src
src
:
boolean
std
Serializers
std
Serializers
:
StdSerializers
target
target
:
Logger
trace
trace
:
LoggerWithTarget
warn
warn
:
LoggerWithTarget
Methods
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
add
Serializers
add
Serializers
(
serializers
:
Serializers
)
:
void
Parameters
serializers:
Serializers
Returns
void
add
Stream
add
Stream
(
stream
:
Stream
)
:
void
Parameters
stream:
Stream
Returns
void
create
Logger
create
Logger
(
options
:
LoggerOptions
)
:
Logger
Parameters
options:
LoggerOptions
Returns
Logger
emit
emit
(
event
:
string
|
symbol
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
...
args:
any
[]
Returns
boolean
event
Names
event
Names
(
)
:
Array
<
string
|
symbol
>
Returns
Array
<
string
|
symbol
>
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
level
level
(
)
:
number
level
(
value
:
Logger.LogLevel
)
:
void
Returns
number
Parameters
value:
Logger.LogLevel
Returns
void
levels
levels
(
)
:
number
[]
levels
(
name
:
number
|
string
)
:
number
levels
(
name
:
number
|
string
, value
:
Logger.LogLevel
)
:
void
Returns
number
[]
Parameters
name:
number
|
string
Returns
number
Parameters
name:
number
|
string
value:
Logger.LogLevel
Returns
void
listener
Count
listener
Count
(
type
:
string
|
symbol
)
:
number
Parameters
type:
string
|
symbol
Returns
number
listeners
listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
off
off
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
on
on
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
once
once
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
raw
Listeners
raw
Listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
symbol
)
:
this
Parameters
Optional
event:
string
|
symbol
Returns
this
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
reopen
File
Streams
reopen
File
Streams
(
)
:
void
Returns
void
resolve
Level
resolve
Level
(
value
:
LogLevel
)
:
number
Parameters
value:
LogLevel
Returns
number
safe
Cycles
safe
Cycles
(
)
:
(
key
:
string
, value
:
any
)
=>
any
Returns
(
key
:
string
, value
:
any
)
=>
any
(
key
:
string
, value
:
any
)
:
any
Parameters
key:
string
value:
any
Returns
any
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
this
Parameters
n:
number
Returns
this
Generated using
TypeDoc