move logger into special file

This commit is contained in:
2025-07-06 20:54:48 +02:00
parent f82d9cea79
commit c6e5c76187
13 changed files with 77 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
import { RefreshingAuthProvider, exchangeCode, type AccessToken } from "@twurple/auth";
import { createAuthRecord, deleteAuthRecord, getAuthRecord, updateAuthRecord } from "./db/dbAuth";
import { logger } from ".";
import logger from "./lib/logger";
import kleur from "kleur";
async function initAuth(userId: string, clientId: string, clientSecret: string, requestedIntents: string[], streamer: boolean): Promise<AccessToken> {