1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 14:05:35 +02:00
Files
misskey/packages/backend/src/core/LoggerService.ts
かっこかり 4d6256e91d deps: Update dependencies (#17304)
* update deps

* update dependencies (major)

* fix: migrate meilisearch

* fix: migrate color-convert types

* fix cypress?

* rollback ts v5 as it is not supported by cypress

* fix fake-timers
2026-04-12 00:57:16 +09:00

22 lines
457 B
TypeScript

/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { Injectable } from '@nestjs/common';
import Logger from '@/logger.js';
import { bindThis } from '@/decorators.js';
import type { Keyword } from 'color-convert';
@Injectable()
export class LoggerService {
constructor(
) {
}
@bindThis
public getLogger(domain: string, color?: Keyword | undefined) {
return new Logger(domain, color);
}
}