summaryrefslogtreecommitdiff
path: root/src/rabbit_log.erl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2009-06-18 15:54:55 +0100
committerMatthias Radestock <matthias@lshift.net>2009-06-18 15:54:55 +0100
commiteb443683546708506689482d6e10a72c140f2a25 (patch)
treeb9a4c2dd9344003086d7d47e4d64683290e4aba1 /src/rabbit_log.erl
parent323102f930e949b06784aad233c0d057ef755a1a (diff)
downloadrabbitmq-server-eb443683546708506689482d6e10a72c140f2a25.tar.gz
tabs -> spaces
Diffstat (limited to 'src/rabbit_log.erl')
-rw-r--r--src/rabbit_log.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rabbit_log.erl b/src/rabbit_log.erl
index f408336e..dd5b498b 100644
--- a/src/rabbit_log.erl
+++ b/src/rabbit_log.erl
@@ -75,7 +75,7 @@ debug(Fmt, Args) when is_list(Args) ->
message(Direction, Channel, MethodRecord, Content) ->
gen_server:cast(?SERVER,
- {message, Direction, Channel, MethodRecord, Content}).
+ {message, Direction, Channel, MethodRecord, Content}).
info(Fmt) ->
gen_server:cast(?SERVER, {info, Fmt}).
@@ -112,11 +112,11 @@ handle_cast({debug, Fmt, Args}, State) ->
{noreply, State};
handle_cast({message, Direction, Channel, MethodRecord, Content}, State) ->
io:format("~s ch~p ~p~n",
- [case Direction of
- in -> "-->";
- out -> "<--" end,
- Channel,
- {MethodRecord, Content}]),
+ [case Direction of
+ in -> "-->";
+ out -> "<--" end,
+ Channel,
+ {MethodRecord, Content}]),
{noreply, State};
handle_cast({info, Fmt}, State) ->
error_logger:info_msg(Fmt),