Preparing search index...
The search index is not available
Lens SDK Reference
Lens SDK Reference
@lens-protocol/react-web
Core
ConsoleLogger
Class ConsoleLogger
Logger interface
Implements
ILogger
Index
Constructors
constructor
Properties
level
Methods
error
fatal
info
warn
Constructors
constructor
new
Console
Logger
(
__namedParameters
?
)
:
ConsoleLogger
Parameters
__namedParameters
:
{
level
?:
ConsoleLoggerLevel
;
}
= {}
Optional
level
?:
ConsoleLoggerLevel
Returns
ConsoleLogger
Properties
Readonly
level
level
:
ConsoleLoggerLevel
Methods
error
error
(
error
,
message
?
,
data
?
)
:
void
Parameters
error
:
Error
Optional
message
:
string
Optional
data
:
unknown
Returns
void
fatal
fatal
(
error
,
message
?
,
data
?
)
:
void
Parameters
error
:
Error
Optional
message
:
string
Optional
data
:
unknown
Returns
void
info
info
(
message
,
data
?
)
:
void
Parameters
message
:
string
Optional
data
:
unknown
Returns
void
warn
warn
(
message
,
data
?
)
:
void
Parameters
message
:
string
Optional
data
:
unknown
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
level
error
fatal
info
warn
Lens SDK Reference
@lens-protocol/react-web - v2.3.1
@lens-protocol/react-native - v2.3.1
@lens-protocol/client - v2.3.1
Logger interface