hauke96 / sigolo

Simple golang logging thingy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle single strings with formatting parts in them

hauke96 opened this issue · comments

Calls like this sigolo.Debug("This has formatting %s parts in it") produces This has formatting %!s(MISSING) parts in it but expected would be the exact input string.

Solution: Whenever no args are given but only a string, automatically treat the given string as argument for "%s".