try fix for windows, change how logging works allows much more flexibility
All checks were successful
Code quality checks / biome (push) Successful in 9s

This commit is contained in:
creations 2025-06-11 18:24:48 -04:00
parent 15d4978ac5
commit f313a8a329
Signed by: creations
GPG key ID: 8F553AA4320FC711
6 changed files with 297 additions and 51 deletions

View file

@ -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 = "";