d13e86ba46
Rebranded src code and scripts to SPT Co-authored-by: clodan <clodan@clodan.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/345 Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com> Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
36 lines
909 B
TypeScript
36 lines
909 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
|
|
{}
|
|
}
|