inspect less

This commit is contained in:
MapleLeaf
2021-12-16 19:18:07 -06:00
parent cc52c42c98
commit e67abe0b9b

View File

@@ -10,7 +10,7 @@ export function withLoggedMethodCalls<T extends object>(value: T) {
return (...values: any[]) => {
console.log(
`${String(property)}(${values
.map((value: any) => inspect(value))
.map((value: any) => inspect(value, { depth: 1 }))
.join(", ")})`,
)
return value.apply(target, values)