Demo Bot: WIP.
This commit is contained in:
23
bots/lib/logger.ts
Normal file
23
bots/lib/logger.ts
Normal file
@ -0,0 +1,23 @@
|
||||
class Logger {
|
||||
public debug (s: string): void {
|
||||
console.log(s)
|
||||
}
|
||||
|
||||
public info (s: string): void {
|
||||
console.info(s)
|
||||
}
|
||||
|
||||
public warn (s: string): void {
|
||||
console.warn(s)
|
||||
}
|
||||
|
||||
public error (s: string): void {
|
||||
console.error(s)
|
||||
}
|
||||
}
|
||||
|
||||
const logger = new Logger()
|
||||
|
||||
export {
|
||||
logger
|
||||
}
|
||||
Reference in New Issue
Block a user