Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
winston
Dynamic module winston
Index
Variables
exitOnError
transports
Interfaces
Transport
Transports
Classes
Logger
Functions
add
debug
error
handleExceptions
info
log
profile
query
remove
stream
warn
Variables
exitOnError
:
boolean
transports
:
Transports
Functions
add
(
transport
:
Transport
, options
:
any
)
Parameters
transport:
Transport
options:
any
debug
(
message
:
string
, metadata
?:
any
)
Parameters
message:
string
metadata?:
any
optional
error
(
message
:
string
, metadata
?:
any
)
Parameters
message:
string
metadata?:
any
optional
handleExceptions
(
transport
:
Transport
)
Parameters
transport:
Transport
info
(
message
:
string
, metadata
?:
any
)
Parameters
message:
string
metadata?:
any
optional
log
(
level
:
string
, message
:
string
, metadata
?:
any
)
Parameters
level:
string
message:
string
metadata?:
any
optional
profile
(
name
:
string
)
Parameters
name:
string
query
(
options
:
any
, done
:
(err: any, results: any) => void
)
Parameters
options:
any
done:
(err: any, results: any) => void
remove
(
transport
:
Transport
)
Parameters
transport:
Transport
stream
(
options
:
any
)
:
any
Parameters
options:
any
Returns
any
warn
(
message
:
string
, metadata
?:
any
)
Parameters
message:
string
metadata?:
any
optional
Globals
winston
exitOnError
transports
Transport
Transports
Logger
add
debug
error
handleExceptions
info
log
profile
query
remove
stream
warn