try fix for windows, change how logging works allows much more flexibility
All checks were successful
Code quality checks / biome (push) Successful in 9s
All checks were successful
Code quality checks / biome (push) Successful in 9s
This commit is contained in:
parent
15d4978ac5
commit
f313a8a329
6 changed files with 297 additions and 51 deletions
|
@ -8,9 +8,10 @@ import {
|
|||
} from "node:fs";
|
||||
import { join } from "node:path";
|
||||
import { serializeLogData } from "@lib/char";
|
||||
import type { LogLevel, LoggerConfig } from "@types";
|
||||
import { format } from "date-fns-tz";
|
||||
|
||||
import type { LogLevel, LoggerConfig } from "@types";
|
||||
|
||||
class FileLogger {
|
||||
private stream: WriteStream | null = null;
|
||||
private filePath = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue