@hashgraph/solo
Preparing search index...
src/core/logging/solo-winston-logger
SoloWinstonLogger
Class SoloWinstonLogger
Implements
SoloLogger
Index
Constructors
constructor
Methods
debug
error
info
next
Trace
Id
prep
Meta
set
Dev
Mode
showJSON
show
List
show
User
show
User
Error
warn
Constructors
constructor
new
SoloWinstonLogger
(
logLevel
?:
string
,
developmentMode
?:
boolean
,
)
:
SoloWinstonLogger
Parameters
Optional
logLevel
:
string
the log level to use
Optional
developmentMode
:
boolean
if true, show full stack traces in error messages
Returns
SoloWinstonLogger
Methods
debug
debug
(
message
:
any
,
...
arguments_
:
any
)
:
void
Parameters
message
:
any
...
arguments_
:
any
Returns
void
error
error
(
message
:
any
,
...
arguments_
:
any
)
:
void
Parameters
message
:
any
...
arguments_
:
any
Returns
void
info
info
(
message
:
any
,
...
arguments_
:
any
)
:
void
Parameters
message
:
any
...
arguments_
:
any
Returns
void
next
Trace
Id
nextTraceId
()
:
void
Returns
void
prep
Meta
prepMeta
(
meta
?:
any
)
:
any
Parameters
meta
:
any
= {}
Returns
any
set
Dev
Mode
setDevMode
(
developmentMode
:
boolean
)
:
void
Parameters
developmentMode
:
boolean
Returns
void
showJSON
showJSON
(
title
:
string
,
object
:
object
)
:
void
Parameters
title
:
string
object
:
object
Returns
void
show
List
showList
(
title
:
string
,
items
?:
string
[]
)
:
boolean
Parameters
title
:
string
items
:
string
[]
= []
Returns
boolean
show
User
showUser
(
message
:
any
,
...
arguments_
:
any
)
:
void
Parameters
message
:
any
...
arguments_
:
any
Returns
void
show
User
Error
showUserError
(
error
:
any
)
:
void
Parameters
error
:
any
Returns
void
warn
warn
(
message
:
any
,
...
arguments_
:
any
)
:
void
Parameters
message
:
any
...
arguments_
:
any
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
debug
error
info
next
Trace
Id
prep
Meta
set
Dev
Mode
showJSON
show
List
show
User
show
User
Error
warn
@hashgraph/solo
Loading...
the log level to use