missing args definitions
This commit is contained in:
parent
d565372adb
commit
7f88c0d9c6
@ -91,23 +91,23 @@ class LoggerClient implements Logger {
|
||||
|
||||
// These methods are dynamically implemented by the constructor
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
error (_str: string): void {
|
||||
error (_str: string, _opts: WriteOptions): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
warn (_str: string): void {
|
||||
warn (_str: string, _opts: WriteOptions): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
status (_str: string): void {
|
||||
status (_str: string, _opts: WriteOptions): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
info (_str: string): void {
|
||||
info (_str: string, _opts: WriteOptions): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
debug (_str: string): void {
|
||||
debug (_str: string, _opts: WriteOptions): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
import { WriteOptions } from "./Types";
|
||||
|
||||
export interface Logger {
|
||||
error(str: string): void
|
||||
warn(str: string): void
|
||||
status(str: string): void
|
||||
info(str: string): void
|
||||
debug(str: string): void
|
||||
error(str: string, opts: WriteOptions): void
|
||||
warn(str: string, opts: WriteOptions): void
|
||||
status(str: string, opts: WriteOptions): void
|
||||
info(str: string, opts: WriteOptions): void
|
||||
debug(str: string, opts: WriteOptions): void
|
||||
}
|
@ -228,23 +228,23 @@ class MasterLogger implements Logger {
|
||||
|
||||
// These methods are dynamically implemented by the constructor
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
error (_str: string): void {
|
||||
error (_str: string, _opts: WriteOptions): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
warn (_str: string): void {
|
||||
warn (_str: string, _opts: WriteOptions): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
status (_str: string): void {
|
||||
status (_str: string, _opts: WriteOptions): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
info (_str: string): void {
|
||||
info (_str: string, _opts: WriteOptions): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
debug (_str: string): void {
|
||||
debug (_str: string, _opts: WriteOptions): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user