帮我摆脱困境
这是我的 console.log 的输出
{ [error: column "hello" does not exist]
name: 'error',
length: 119,
severity: 'ERROR',
code: '42703',
detail: undefined,
hint: undefined,
position: '1271',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
file: 'src\backend\parser\parse_relation.c',
line: '2655',enter code here
routine: 'errorMissingColumn' }
这是我的 logger.error 的输出
error: name=error, length=119, severity=ERROR, code=42703, detail=undefined, hi
nt=undefined, position=1271, internalPosition=undefined, internalQuery=undefined
, where=undefined, file=src\backend\parser\parse_relation.c, line=2655, routine=
errorMissingColumn
console.log is more understandable and clear ,but logger.error message is not clear understand