diff options
author | Péter Dimitrov <[email protected]> | 2018-03-09 10:58:46 +0100 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2018-03-28 10:19:38 +0200 |
commit | 347a39468180c1410cedaee465821cfb10c2fcd7 (patch) | |
tree | 29dbed3dc6946925e0ed0f03e19b7c2bcd1e2c3b /lib/ftp/src/ftp_internal.hrl | |
parent | 118dc092313b7eae9dd4084bb354cec644823ab2 (diff) | |
download | otp-347a39468180c1410cedaee465821cfb10c2fcd7.tar.gz otp-347a39468180c1410cedaee465821cfb10c2fcd7.tar.bz2 otp-347a39468180c1410cedaee465821cfb10c2fcd7.zip |
ftp: Remove legacy tracing macros
Change-Id: Ie9cfc5902f3ec7f97df6f0764ff88b954139d87b
Diffstat (limited to 'lib/ftp/src/ftp_internal.hrl')
-rw-r--r-- | lib/ftp/src/ftp_internal.hrl | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/lib/ftp/src/ftp_internal.hrl b/lib/ftp/src/ftp_internal.hrl index 3c6c4d5e0b..84f980e8fd 100644 --- a/lib/ftp/src/ftp_internal.hrl +++ b/lib/ftp/src/ftp_internal.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2005-2016. All Rights Reserved. +%% Copyright Ericsson AB 2005-2018. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -22,23 +22,6 @@ -ifndef(ftp_internal_hrl). -define(ftp_internal_hrl, true). -%%-include_lib("inets/src/inets_app/inets_internal.hrl"). - -%% Various trace macros - --define(report(Severity, Label, Service, Content), - inets_trace:report_event(Severity, Label, Service, - [{module, ?MODULE}, {line, ?LINE} | Content])). --define(report_important(Label, Service, Content), - ?report(20, Label, Service, Content)). --define(report_verbose(Label, Service, Content), - ?report(40, Label, Service, Content)). --define(report_debug(Label, Service, Content), - ?report(60, Label, Service, Content)). --define(report_trace(Label, Service, Content), - ?report(80, Label, Service, Content)). - - -define(CR, $\r). -define(LF, $\n). -define(CRLF, [$\r,$\n]). @@ -47,13 +30,6 @@ -define(LEFT_PAREN, $(). -define(RIGHT_PAREN, $)). -define(WHITE_SPACE, $ ). --define(DOUBLE_QUOTE, $"). - - --define(SERVICE, ftpc). --define(fcri(Label, Content), ?report_important(Label, ?SERVICE, Content)). --define(fcrv(Label, Content), ?report_verbose(Label, ?SERVICE, Content)). --define(fcrd(Label, Content), ?report_debug(Label, ?SERVICE, Content)). --define(fcrt(Label, Content), ?report_trace(Label, ?SERVICE, Content)). +-define(DOUBLE_QUOTE, $"). -endif. % -ifdef(ftp_internal_hrl). |