[feature] integrated Logger

This commit is contained in:
Janis
2023-06-29 21:17:30 +02:00
parent 033cd77e04
commit e411c1c126
2 changed files with 7 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ export default class Logger {
}
// Log message received from the websocket to the console
public static wsReicved(data: object, message: string | undefined = undefined): void {
public static wsReceived(data: object, message: string | undefined = undefined): void {
console.log(`%c[WS Recieved] ${message ?? ""}`.trim(), "color: #8258c7", data);
}