factor out core logger for use in other files
This commit is contained in:
parent
21297610b5
commit
86e7858bfe
2 changed files with 4 additions and 0 deletions
3
packages/backend/src/boot/coreLogger.ts
Normal file
3
packages/backend/src/boot/coreLogger.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import Logger from '@/logger.js';
|
||||
|
||||
export const coreLogger = new Logger('core', 'cyan');
|
||||
|
|
@ -21,6 +21,7 @@ import type { EnvService } from '@/global/EnvService.js';
|
|||
import type { EnvOption } from '@/env.js';
|
||||
import { renderInlineError } from '@/misc/render-inline-error.js';
|
||||
import { showMachineInfo } from '@/misc/show-machine-info.js';
|
||||
import { coreLogger } from '@/boot/coreLogger.js';
|
||||
import { jobQueue, server } from './common.js';
|
||||
|
||||
const _filename = fileURLToPath(import.meta.url);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue