log4erl

Code pulled with git from git://github.com/ahmednawras/log4erl.git with the last commit being c201a75

These are Current warnings for log4erl.

dialyzer -n -q -Wno_improper_lists ebin
email_msg.erl:33: Function simp_msg/4 has no local return
log_formatter.erl:160: Guard test byte() =:= D::{{1..1114111,1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12,1..255},{byte(),byte(),byte()}} can never succeed
log_formatter.erl:179: Guard test byte() =:= D::{{1..1114111,1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12,1..255},{byte(),byte(),byte()}} can never succeed
smtp_appender.erl:124: Function init_smtp/4 will never be called
syslog_appender.erl:167: The variable Int can never match since previous clauses completely covered the type byte()
syslog_appender.erl:172: The variable Atom can never match since previous clauses completely covered the type atom()
xml_appender.erl:214: Guard test is_binary(B::[any()]) can never succeed
xml_appender.erl:216: Guard test is_atom(A::[any()]) can never succeed
xml_appender.erl:224: Guard test is_binary(B::maybe_improper_list()) can never succeed
xml_appender.erl:226: Guard test is_atom(A::maybe_improper_list()) can never succeed
xml_appender.erl:230: Guard test is_integer(I::maybe_improper_list()) can never succeed
xml_appender.erl:232: Guard test is_float(F::maybe_improper_list()) can never succeed
yeccpre.hrl:76: Function yecc_error_type/2 has no local return
yeccpre.hrl:76: The pattern <'function_clause', [{'log4erl_parser', F, [_, _, _, _, Token, _, _]} | _]> can never match the type <_,[{atom(),atom(),[any()] | byte(),[any()]}]>
yeccpre.hrl:79: The pattern <{'case_clause', {State}}, [{'log4erl_parser', 'yeccpars2', _} | _]> can never match the type <_,[{atom(),atom(),[any()] | byte(),[any()]}]>
yeccpre.hrl:82: The pattern <'function_clause', [{'log4erl_parser', F, [State]} | _]> can never match the type <_,[{atom(),atom(),[any()] | byte(),[any()]}]>
yeccpre.hrl:126: Function yeccerror/1 will never be called
yeccpre.hrl:131: Function yecctoken2string/1 will never be called
leexinc.hrl:49: The pattern <Rest, Line, {'token', T, Push}, Ts> can never match the type <_,_,'error' | 'skip_token',[{atom(),_} | {'atom',_,atom()} | {'default',_,atom()} | {'integer',_,integer()} | {'loger',_,atom()} | {'val',_,[any()]}]>
leexinc.hrl:52: The pattern <Rest, Line, {'end_token', T}, Ts> can never match the type <_,_,'error' | 'skip_token',[{atom(),_} | {'atom',_,atom()} | {'default',_,atom()} | {'integer',_,integer()} | {'loger',_,atom()} | {'val',_,[any()]}]>
leexinc.hrl:54: The pattern <Rest, Line, {'end_token', T, Push}, Ts> can never match the type <_,_,'error' | 'skip_token',[{atom(),_} | {'atom',_,atom()} | {'default',_,atom()} | {'integer',_,integer()} | {'loger',_,atom()} | {'val',_,[any()]}]>
leexinc.hrl:59: The pattern <Rest, Line, {'skip_token', Push}, Ts> can never match the type <_,_,'error',[{atom(),_} | {'atom',_,atom()} | {'default',_,atom()} | {'integer',_,integer()} | {'loger',_,atom()} | {'val',_,[any()]}]>
leexinc.hrl:62: The pattern <_Rest, Line, {'error', S}, _Ts> can never match the type <_,_,'error',[{atom(),_} | {'atom',_,atom()} | {'default',_,atom()} | {'integer',_,integer()} | {'loger',_,atom()} | {'val',_,[any()]}]>
leexinc.hrl:118: The pattern <Rest, Line, {'token', T, Push}> can never match the type <_,_,'error' | 'skip_token'>
leexinc.hrl:121: The pattern <Rest, Line, {'end_token', T}> can never match the type <_,_,'error' | 'skip_token'>
leexinc.hrl:123: The pattern <Rest, Line, {'end_token', T, Push}> can never match the type <_,_,'error' | 'skip_token'>
leexinc.hrl:128: The pattern <Rest, Line, {'skip_token', Push}> can never match the type <_,_,'error'>
leexinc.hrl:131: The pattern <Rest, Line, {'error', S}> can never match the type <_,_,'error'>
leexinc.hrl:192: The pattern <Rest, Line, {'token', T, Push}, Ts> can never match the type <_,_,'error' | 'skip_token',_>
leexinc.hrl:195: The pattern <Rest, Line, {'end_token', T}, Ts> can never match the type <_,_,'error' | 'skip_token',_>
leexinc.hrl:197: The pattern <Rest, Line, {'end_token', T, Push}, Ts> can never match the type <_,_,'error' | 'skip_token',_>
leexinc.hrl:202: The pattern <Rest, Line, {'skip_token', Push}, Ts> can never match the type <_,_,'error',_>
leexinc.hrl:205: The pattern <Rest, Line, {'error', S}, _Ts> can never match the type <_,_,'error',_>
leexinc.hrl:243: The pattern <Rest, Line, {'token', _T, Push}, Error> can never match the type <_,_,'error' | 'skip_token',_>
leexinc.hrl:246: The pattern <Rest, Line, {'end_token', _T}, Error> can never match the type <_,_,'error' | 'skip_token',_>
leexinc.hrl:248: The pattern <Rest, Line, {'end_token', _T, Push}, Error> can never match the type <_,_,'error' | 'skip_token',_>
leexinc.hrl:253: The pattern <Rest, Line, {'skip_token', Push}, Error> can never match the type <_,_,'error',_>
leexinc.hrl:256: The pattern <Rest, Line, {'error', _S}, Error> can never match the type <_,_,'error',_>
leexinc.hrl:260: Function yyrev/2 will never be called