src/vs/platform/log/common/log.ts/AdapterLogger/extractMessage
class AdapterLogger:	private extractMessage(msg: string | Error): string {
		if (typeof msg === 'string') {
			return msg;
		}

		return toErrorMessage(msg, this.checkLogLevel(LogLevel.Trace));
	}