Bug: function type log arguments are printed as `null`
Closed this issue · 3 comments
pke commented
This cost me more than an hour of debugging now.
function test() {
}
logger.info(test)
will log null
which is confusing. It should log function
or the functions name.
alessandro-bottamedi commented
You are right, in my opinion it should print an empty object:"{}" or [function], printing null or the name of the object could be confusing....
pke commented
console.log
prints the type (and name): function name()
alessandro-bottamedi commented
Fixed in 592e139