summaryrefslogtreecommitdiff
path: root/src/rabbit_log.erl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-08-08 05:42:28 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2012-08-08 05:42:28 +0100
commit6c459693325c44d0b5a8a2adfa6d8afdbd3370f0 (patch)
treeb6767df103e42c0415caaa17f66338d3c9b82983 /src/rabbit_log.erl
parent5e951c561fd35dcfe0a7a8cce1dd2dc98eb0afb6 (diff)
downloadrabbitmq-server-6c459693325c44d0b5a8a2adfa6d8afdbd3370f0.tar.gz
cosmetic
Diffstat (limited to 'src/rabbit_log.erl')
-rw-r--r--src/rabbit_log.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rabbit_log.erl b/src/rabbit_log.erl
index 73044e90..8dfa89d3 100644
--- a/src/rabbit_log.erl
+++ b/src/rabbit_log.erl
@@ -38,8 +38,9 @@
-spec(start_link/0 :: () -> rabbit_types:ok_pid_or_error()).
--spec(log/3 :: (category(), level(), string()) -> 'ok').
--spec(log/4 :: (category(), level(), string(), [any()]) -> 'ok').
+-spec(log/3 :: (category(), level(), string()) -> 'ok').
+-spec(log/4 :: (category(), level(), string(), [any()]) -> 'ok').
+
-spec(info/1 :: (string()) -> 'ok').
-spec(info/2 :: (string(), [any()]) -> 'ok').
-spec(warning/1 :: (string()) -> 'ok').
@@ -52,6 +53,7 @@
%%----------------------------------------------------------------------------
start_link() ->
gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
+
log(Category, Level, Fmt) -> log(Category, Level, Fmt, []).
log(Category, Level, Fmt, Args) when is_list(Args) ->