Lines Matching full:logger
22 export class Logger { class
23 private static instance: Logger | undefined;
37 public static getInstance(projectConfig?: BuildConfig): Logger {
38 if (!Logger.instance) {
42 Logger.instance = new Logger(projectConfig);
44 return Logger.instance;
48 Logger.instance = undefined;
52 const logger: ILogger = this.getLoggerFromSubsystemCode(subsystemCode); constant
53 logger.printInfo(message);
57 const logger: ILogger = this.getLoggerFromSubsystemCode(subsystemCode); constant
58 logger.printWarn(message);
62 const logger: ILogger = this.getLoggerFromSubsystemCode(subsystemCode); constant
63 logger.printDebug(message);
68 const logger: ILogger = this.getLoggerFromErrorCode(error.code); constant
69 logger.printError(error);
74 const logger: ILogger = this.getLoggerFromErrorCode(error.code); constant
75 logger.printErrorAndExit(error);
87 const logger = this.getLoggerFromSubsystemCode(subsystemCode); constant
88 return logger;