Skip to content

Commit

Permalink
update LogHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
zrong committed Mar 3, 2015
1 parent 09df495 commit b258748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zrong/zr/log/LogHandler.lua
Expand Up @@ -34,7 +34,7 @@ function LogHandler:getString(level, fmt, args)
if argsnum > 0 and _isfmt(fmt) then
local fmtnum = select(2, string.gsub(fmt, '%%[%a%.]', ''))
if fmtnum ~= argsnum then
strlist[#strlist+1] = 'LogHandler WARNING -- Cannot get a nil value between arguments OR you give a bad amout of arguments.'
strlist[#strlist+1] = string.format('LogHandler WARNING -- [%s] Cannot get a nil value between arguments OR you give a bad amout of arguments.', fmt)
else
strlist[#strlist+1] = string.format(fmt, unpack(args))
end
Expand Down

0 comments on commit b258748

Please sign in to comment.