Search
Preparing search index...
The search index is not available
@btilford/ts-base - v1.1.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
LogConfig
Class LogConfig
Hierarchy
LogConfig
Index
Constructors
constructor
Properties
context
Supplier
interceptors
message
Format
message
Template
root
Level
Methods
extend
create
Constructors
constructor
new
Log
Config
(
rootLevel
?:
LogLevel
, messageTemplate
?:
MessageTemplate
, interceptors
?:
Interceptor
[]
, contextSupplier
?:
Context
, messageFormat
?:
MessageFormat
)
:
LogConfig
Parameters
Optional
rootLevel:
LogLevel
Default value
messageTemplate:
MessageTemplate
= templateString()
Default value
interceptors:
Interceptor
[]
= []
Default value
contextSupplier:
Context
= (): any => ({})
Optional
messageFormat:
MessageFormat
Returns
LogConfig
Properties
Readonly
context
Supplier
context
Supplier
:
Context
Readonly
interceptors
interceptors
:
Interceptor
[]
Optional
Readonly
message
Format
message
Format
:
MessageFormat
Readonly
message
Template
message
Template
:
MessageTemplate
Readonly
root
Level
root
Level
:
LogLevel
Methods
extend
extend
(
props
:
LogConfigOptions
, merge
?:
boolean
)
:
LogConfig
Parameters
props:
LogConfigOptions
Default value
merge:
boolean
= false
Returns
LogConfig
Static
create
create
(
props
?:
LogConfigOptions
)
:
LogConfig
Parameters
Default value
props:
LogConfigOptions
= {}
Returns
LogConfig
Globals
Log
Config
constructor
context
Supplier
interceptors
message
Format
message
Template
root
Level
extend
create
Generated using
TypeDoc