aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/include/diameter_gen.hrl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-10-25 16:39:03 +0200
committerAnders Svensson <[email protected]>2011-11-10 16:23:50 +0100
commit39d0e598f4349b484d4b5f8fffc8fa9c25530ea8 (patch)
tree8e4711e4bde0065b1fab7ca0ed1dbb6d5dad4b3d /lib/diameter/include/diameter_gen.hrl
parent4d3691c921d023fa1afee4d1e3ea9bce64f6f59f (diff)
downloadotp-39d0e598f4349b484d4b5f8fffc8fa9c25530ea8.tar.gz
otp-39d0e598f4349b484d4b5f8fffc8fa9c25530ea8.tar.bz2
otp-39d0e598f4349b484d4b5f8fffc8fa9c25530ea8.zip
diameter_dbg:log -> diameter_lib:log
Should have been included in 5af64c7d57d83ce35bfd7b15ac3ce6ec7459fd73.
Diffstat (limited to 'lib/diameter/include/diameter_gen.hrl')
-rw-r--r--lib/diameter/include/diameter_gen.hrl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/diameter/include/diameter_gen.hrl b/lib/diameter/include/diameter_gen.hrl
index d037e1044a..13a6c462af 100644
--- a/lib/diameter/include/diameter_gen.hrl
+++ b/lib/diameter/include/diameter_gen.hrl
@@ -40,14 +40,14 @@ encode_avps(Name, Rec) ->
list_to_binary(encode(Name, Rec))
catch
throw: {?MODULE, Reason} ->
- diameter_dbg:log({encode, error},
+ diameter_lib:log({encode, error},
?MODULE,
?LINE,
{Reason, Name, Rec}),
erlang:error(list_to_tuple(Reason ++ [Name]));
error: Reason ->
Stack = erlang:get_stacktrace(),
- diameter_dbg:log({encode, failure},
+ diameter_lib:log({encode, failure},
?MODULE,
?LINE,
{Reason, Name, Rec, Stack}),
@@ -159,7 +159,7 @@ d_rc(Name, {Avps, {Rec, [] = Failed}}) ->
{Rec, Avps, Failed}
catch
throw: {?MODULE, {AvpName, Reason}} ->
- diameter_dbg:log({decode, error},
+ diameter_lib:log({decode, error},
?MODULE,
?LINE,
{AvpName, Reason, Rec}),
@@ -260,7 +260,7 @@ d(Name, Avp, {Avps, Acc}) ->
%% respond sensibly to. Log the occurence for traceability,
%% but the peer will also receive info in the resulting
%% answer-message.
- diameter_dbg:log({decode, failure},
+ diameter_lib:log({decode, failure},
?MODULE,
?LINE,
{Reason, Avp, erlang:get_stacktrace()}),