src/vs/platform/log/common/logIpc.ts/LoggerChannel/log
class LoggerChannel:	private log(file: URI, messages: [LogLevel, string][]): void {
		const logger = this.loggers.get(file.toString());
		if (!logger) {
			throw new Error('Create the logger before logging');
		}
		for (const [level, message] of messages) {
			switch (level) {
				case LogLevel.Trace: logger.trace(message); break;
				case LogLevel.Debug: logger.debug(message); break;
				case LogLevel.Info: logger.info(message); break;
				case LogLevel.Warning: logger.warn(message); break;
				case LogLevel.Error: logger.error(message); break;
				case LogLevel.Critical: logger.critical(message); break;
				default: throw new Error('Invalid log level');
			}
		}
	}