mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
18 lines
563 B
Erlang
18 lines
563 B
Erlang
|
%%%----------------------------------------------------------------------
|
||
|
%%% File : ejabberd.hrl
|
||
|
%%% Author : Alexey Shchepin <alexey@sevcom.net>
|
||
|
%%% Purpose :
|
||
|
%%% Created : 17 Nov 2002 by Alexey Shchepin <alexey@sevcom.net>
|
||
|
%%% Id : $Id$
|
||
|
%%%----------------------------------------------------------------------
|
||
|
|
||
|
-define(ejabberd_debug, true).
|
||
|
|
||
|
-ifdef(ejabberd_debug).
|
||
|
-define(DEBUG(Format, Args), io:format("D(~p:~p:~p) : "++Format++"~n",
|
||
|
[self(),?MODULE,?LINE]++Args)).
|
||
|
-else.
|
||
|
-define(DEBUG(F,A),[]).
|
||
|
-endif.
|
||
|
|