Permalink
Browse files

clean up

  • Loading branch information...
1 parent 50aa4ce commit e60e3bdbb6ed003b020dca493c893ed5bd6eb575 @ahmednawras ahmednawras committed Feb 6, 2010
Showing with 0 additions and 12 deletions.
  1. +0 −12 src/log_formatter.erl
View
@@ -68,12 +68,6 @@ get_token_value(date2, Log) ->
fun(X) ->
X2 = integer_to_list(X),
log4erl_utils:return_2columns(X2)
-%% case string:len(X2) > 1 of
-%% false ->
-%% "0" ++ X2;
-%% _ ->
-%% X2
-%% end
end,
[Y,M,Dd]),
Res = A ++ "-" ++ B ++ "-" ++ C,
@@ -96,12 +90,6 @@ get_token_value(time2, Log) ->
fun(X) ->
X2 = integer_to_list(X),
log4erl_utils:return_2columns(X2)
-%% case string:len(X2) > 1 of
-%% false ->
-%% "0" ++ X2;
-%% _ ->
-%% X2
-%% end
end,
[H,M,S, Ms]),
Res = A ++ ":" ++ B ++ ":" ++ C ++ "." ++ E,

0 comments on commit e60e3bd

Please sign in to comment.