Closed r2evans closed 7 months ago
Yeah, thanks for pointing out. I've run into the same the other day and fixed at https://github.com/daroczig/logger/pull/146/files#diff-6fc9712995f40cc7e45bfc9c77a3e85ac5d6b06760efe0d4f6618b5e33d376e2L148 - to be merged with #146
I had checked your code but not the PR list yet, sorry if this is a dupe :-)
It's weird when people actually read documentation ... with some of my clients, it's just something I pour time into so that when they ask me questions, I know where to reference the answer for them (though they had it themselves).
When I run the example code in
?formatter_json
, the example code includesWhile this itself doesn't err, it does when I try to use it.
Since the argument should be a
function
, I believe it should be justlog_formatter(formatter_json)
(sinceformatter_json()
returns the string literal"[]"
... which makes sense, since it was passed no arguments and returns an empty json list.