mirror of
https://github.com/immich-app/immich.git
synced 2026-03-01 18:19:10 +03:00
fix: unset prewarn param (#20109)
This commit is contained in:
@@ -85,8 +85,13 @@ export class LoggingRepository {
|
||||
this.logger = new MyConsoleLogger(cls, { context: LoggingRepository.name, color: !noColor });
|
||||
}
|
||||
|
||||
static create() {
|
||||
return new LoggingRepository(undefined, undefined);
|
||||
static create(context?: string) {
|
||||
const logger = new LoggingRepository(undefined, undefined);
|
||||
if (context) {
|
||||
logger.setContext(context);
|
||||
}
|
||||
|
||||
return logger;
|
||||
}
|
||||
|
||||
setAppName(name: string): void {
|
||||
|
||||
Reference in New Issue
Block a user