Server/project/tests/__mocks__/WinstonLogger.mock.ts
Refringe 5740774a46
Apply Biome Formatting
This is the result of running `npm run format` which applies the Biome formatting rules. Rejoice!
2024-07-23 11:12:53 -04:00

27 lines
877 B
TypeScript

import { Daum } from "@spt/models/eft/itemEvent/IItemEventRouterRequest";
import { LogBackgroundColor } from "@spt/models/spt/logging/LogBackgroundColor";
import { LogTextColor } from "@spt/models/spt/logging/LogTextColor";
import { ILogger } from "@spt/models/spt/utils/ILogger";
export class WinstonLogger implements ILogger {
writeToLogFile(data: string | Daum): void {}
log(data: string | Record<string, unknown> | Error, color: string, backgroundColor?: string): void {}
logWithColor(
data: string | Record<string, unknown>,
textColor: LogTextColor,
backgroundColor?: LogBackgroundColor,
): void {}
error(data: string): void {}
warning(data: string): void {}
success(data: string): void {}
info(data: string): void {}
debug(data: string | Record<string, unknown>, onlyShowInConsole?: boolean): void {}
}