mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
* Match console method signatures in logService abstraction * Add a few usages of improved signature * Remove reality check test * Improve electron logging
10 lines
446 B
TypeScript
10 lines
446 B
TypeScript
import { LogLevelType } from "../enums/log-level-type.enum";
|
|
|
|
export abstract class LogService {
|
|
abstract debug(message?: any, ...optionalParams: any[]): void;
|
|
abstract info(message?: any, ...optionalParams: any[]): void;
|
|
abstract warning(message?: any, ...optionalParams: any[]): void;
|
|
abstract error(message?: any, ...optionalParams: any[]): void;
|
|
abstract write(level: LogLevelType, message?: any, ...optionalParams: any[]): void;
|
|
}
|