49749b46c4
* (add) user-friendly error page * Update CHANGELOG.md * (add) cache-control header * Add ClientLoggerService * Log params and query * remove error stack on client * fix pug * 文面を調整 * :art] --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
14 lines
336 B
TypeScript
14 lines
336 B
TypeScript
import { Injectable } from '@nestjs/common';
|
|
import type Logger from '@/logger.js';
|
|
import { LoggerService } from '@/core/LoggerService.js';
|
|
|
|
@Injectable()
|
|
export class ClientLoggerService {
|
|
public logger: Logger;
|
|
|
|
constructor(
|
|
private loggerService: LoggerService,
|
|
) {
|
|
this.logger = this.loggerService.getLogger('client');
|
|
}
|
|
}
|