15 lines
397 B
TypeScript
15 lines
397 B
TypeScript
|
import { Inject, Injectable } from '@nestjs/common';
|
||
|
import type Logger from '@/logger.js';
|
||
|
import { RemoteLoggerService } from '@/core/remote/RemoteLoggerService.js';
|
||
|
|
||
|
@Injectable()
|
||
|
export class ApLoggerService {
|
||
|
public logger: Logger;
|
||
|
|
||
|
constructor(
|
||
|
private remoteLoggerService: RemoteLoggerService,
|
||
|
) {
|
||
|
this.logger = this.remoteLoggerService.logger.createSubLogger('ap', 'magenta');
|
||
|
}
|
||
|
}
|