I'm implementing a pretty format for my Winston logger, and was wondering If could use the Node.js method console.table to get the "string"?
The method is void, but is there somehow I could the string representation?
const tableAsString = console.table([{foo: 'bar'}, {foo: 'bar2'}])
// This does not work, table as string is undefined...