Currently first the text information is logged and then all extra data objects... it would be better to keep them together.
One idea I have:
warn(() => ['text info..., {a, b, c}]);
Or simply rewriting the warn system a bit... so we will end up with a system where every call to warn is producing one nice row in a table like an easy to read stack trace with information where it belongs.
Currently first the text information is logged and then all extra data objects... it would be better to keep them together.
One idea I have:
Or simply rewriting the warn system a bit... so we will end up with a system where every call to
warn
is producing one nice row in a table like an easy to read stack trace with information where it belongs.