Preparing search index...
The search index is not available
dinodns
dinodns
plugins
logging
ConsoleLogger
Class ConsoleLogger
Implements
Logger
Index
Constructors
constructor
Properties
log
Requests
log
Responses
Methods
debug
error
format
handler
info
log
register
warn
Constructors
constructor
new
Console
Logger
(
logRequests
?
,
logResponses
?
)
:
ConsoleLogger
Parameters
logRequests
:
boolean
= true
logResponses
:
boolean
= true
Returns
ConsoleLogger
Properties
Private
log
Requests
log
Requests
:
boolean
= true
Private
log
Responses
log
Responses
:
boolean
= true
Methods
debug
debug
(
message
)
:
void
Parameters
message
:
string
Returns
void
error
error
(
message
)
:
void
Parameters
message
:
string
Returns
void
Private
format
format
(
level
,
message
)
:
string
Parameters
level
:
LogLevel
message
:
string
Returns
string
handler
handler
(
req
,
res
,
next
)
:
void
Parameters
req
:
DNSRequest
res
:
DNSResponse
next
:
NextFunction
Returns
void
info
info
(
message
)
:
void
Parameters
message
:
string
Returns
void
log
log
(
level
,
message
)
:
void
Parameters
level
:
LogLevel
message
:
string
Returns
void
register
register
(
res
)
:
void
Parameters
res
:
DNSResponse
Returns
void
warn
warn
(
message
)
:
void
Parameters
message
:
string
Returns
void
Settings
Member Visibility
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
log
Requests
log
Responses
Methods
debug
error
format
handler
info
log
register
warn
dinodns
Loading...