2023-11-02 16:58:16 +01:00
|
|
|
import { Daum } from "@spt-aki/models/eft/itemEvent/IItemEventRouterRequest";
|
|
|
|
import { LogBackgroundColor } from "@spt-aki/models/spt/logging/LogBackgroundColor";
|
|
|
|
import { LogTextColor } from "@spt-aki/models/spt/logging/LogTextColor";
|
|
|
|
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
|
|
|
|
|
|
|
|
export class WinstonLogger implements ILogger
|
|
|
|
{
|
|
|
|
writeToLogFile(data: string | Daum): void
|
2023-11-10 23:21:20 +01:00
|
|
|
{}
|
2023-11-02 16:58:16 +01:00
|
|
|
|
|
|
|
log(data: string | Record<string, unknown> | Error, color: string, backgroundColor?: string): void
|
2023-11-10 23:21:20 +01:00
|
|
|
{}
|
2023-11-02 16:58:16 +01:00
|
|
|
|
2023-11-10 23:21:20 +01:00
|
|
|
logWithColor(
|
|
|
|
data: string | Record<string, unknown>,
|
|
|
|
textColor: LogTextColor,
|
|
|
|
backgroundColor?: LogBackgroundColor,
|
|
|
|
): void
|
|
|
|
{}
|
2023-11-02 16:58:16 +01:00
|
|
|
|
|
|
|
error(data: string): void
|
2023-11-10 23:21:20 +01:00
|
|
|
{}
|
2023-11-02 16:58:16 +01:00
|
|
|
|
|
|
|
warning(data: string): void
|
2023-11-10 23:21:20 +01:00
|
|
|
{}
|
2023-11-02 16:58:16 +01:00
|
|
|
|
|
|
|
success(data: string): void
|
2023-11-10 23:21:20 +01:00
|
|
|
{}
|
2023-11-02 16:58:16 +01:00
|
|
|
|
|
|
|
info(data: string): void
|
2023-11-10 23:21:20 +01:00
|
|
|
{}
|
2023-11-02 16:58:16 +01:00
|
|
|
|
2023-11-10 23:21:20 +01:00
|
|
|
debug(data: string | Record<string, unknown>, onlyShowInConsole?: boolean): void
|
|
|
|
{}
|
2023-11-02 16:58:16 +01:00
|
|
|
}
|