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,8 @@
import pocketbase, { type userRecord } from "./connection";
import { emptyInventory, itemarray } from "../items";
import type { User } from "../user";
import { logger } from "..";
import logger from "../lib/logger";
const pb = pocketbase.collection('users');
/** Use this function to both ensure existance and to retreive data */