Search
Preparing search index...
The search index is not available
@typexs/base
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@typexs/base
index
WinstonLoggerJar
Class WinstonLoggerJar
Hierarchy
WinstonLoggerJar
Implements
ILoggerApi
Index
Constructors
constructor
Properties
_logger
enabled
name
options
prefix
formats
transport
Types
Methods
build
clear
close
debug
detect
Format
error
get
Level
get
Options
info
is
Enabled
log
logger
remove
set
Level
stream
trace
warn
register
Format
register
Transport
Type
Constructors
constructor
new
Winston
Logger
Jar
(
name
:
string
, opts
?:
ILoggerOptions
)
:
WinstonLoggerJar
Parameters
name:
string
Optional
opts:
ILoggerOptions
Returns
WinstonLoggerJar
Properties
_logger
_logger
:
Logger
enabled
enabled
:
boolean
= true
name
name
:
string
= ...
Name of the logger
options
options
:
ILoggerOptions
prefix
prefix
:
string
Static
formats
formats
:
{}
= ...
Type declaration
[
name:
string
]:
Function
Static
transport
Types
transport
Types
:
{}
= ...
Type declaration
[
name:
string
]:
Function
Methods
build
build
(
name
:
string
, options
:
ILoggerOptions
, append
?:
boolean
)
:
WinstonLoggerJar
Parameters
name:
string
options:
ILoggerOptions
append:
boolean
= false
Returns
WinstonLoggerJar
clear
clear
(
)
:
void
Returns
void
close
close
(
)
:
void
Returns
void
debug
debug
(
...
msg
:
any
[]
)
:
void
Parameters
Rest
...
msg:
any
[]
Returns
void
detect
Format
detect
Format
(
options
:
ILoggerOptions
, opts
:
LoggerOptions
)
:
void
Parameters
options:
ILoggerOptions
opts:
LoggerOptions
Returns
void
error
error
(
...
msg
:
any
[]
)
:
void
Parameters
Rest
...
msg:
any
[]
Returns
void
get
Level
get
Level
(
)
:
ILogLevel
Returns
ILogLevel
get
Options
get
Options
(
)
:
ILoggerOptions
Returns
ILoggerOptions
info
info
(
...
msg
:
any
[]
)
:
void
Parameters
Rest
...
msg:
any
[]
Returns
void
is
Enabled
is
Enabled
(
set
?:
boolean
)
:
boolean
Parameters
Optional
set:
boolean
Returns
boolean
log
log
(
level
:
string
,
...
msg
:
any
[]
)
:
void
Parameters
level:
string
Rest
...
msg:
any
[]
Returns
void
logger
logger
(
)
:
Logger
Returns
Logger
remove
remove
(
)
:
void
Returns
void
set
Level
set
Level
(
level
:
string
)
:
void
Parameters
level:
string
Returns
void
stream
stream
(
opts
?:
any
)
:
ReadableStream
Parameters
opts:
any
= {}
Returns
ReadableStream
trace
trace
(
...
msg
:
any
[]
)
:
void
Parameters
Rest
...
msg:
any
[]
Returns
void
warn
warn
(
...
msg
:
any
[]
)
:
void
Parameters
Rest
...
msg:
any
[]
Returns
void
Static
register
Format
register
Format
(
name
:
string
, transportClass
:
Function
)
:
void
Parameters
name:
string
transportClass:
Function
Returns
void
Static
register
Transport
Type
register
Transport
Type
(
name
:
string
, transportClass
:
Function
)
:
void
Parameters
name:
string
transportClass:
Function
Returns
void
Modules
Activator
Bootstrap
Startup
index
Winston
Logger
Jar
constructor
_logger
enabled
name
options
prefix
formats
transport
Types
build
clear
close
debug
detect
Format
error
get
Level
get
Options
info
is
Enabled
log
logger
remove
set
Level
stream
trace
warn
register
Format
register
Transport
Type
Generated using
TypeDoc
Name of the logger