src/vs/platform/log/common/log.ts/AbstractMessageLogger/error
class AbstractMessageLogger:	error(message: string | Error, ...args: any[]): void {
		if (this.checkLogLevel(LogLevel.Error)) {

			if (message instanceof Error) {
				const array = Array.prototype.slice.call(arguments) as any[];
				array[0] = message.stack;
				this.log(LogLevel.Error, this.format(array));
			} else {
				this.log(LogLevel.Error, this.format([message, ...args]));
			}
		}
	}