debug statement
This commit is contained in:
parent
f36d020bce
commit
bf87208b92
@ -266,6 +266,8 @@ class MariaDB
|
||||
// This is a bit of a clusterfuck but it seems to work
|
||||
#statusUpdate (update: StatusUpdate)
|
||||
{
|
||||
this.#logger.debug('Status update');
|
||||
this.#logger.debug(update);
|
||||
if (!update.members.length)
|
||||
{
|
||||
if (update.status === 'disconnected')
|
||||
|
@ -6,9 +6,9 @@ export type LoggerClientOptions = {
|
||||
}
|
||||
|
||||
export interface ILogger {
|
||||
info(str: string): void
|
||||
status(str: string): void
|
||||
debug(str: string): void
|
||||
warn(str: string): void
|
||||
error(str: string): void
|
||||
info(str: string | object): void
|
||||
status(str: string | object): void
|
||||
debug(str: string | object): void
|
||||
warn(str: string | object): void
|
||||
error(str: string | object): void
|
||||
}
|
Loading…
Reference in New Issue
Block a user