aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/logger_ssl_formatter.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2018-05-16 11:01:34 +0200
committerPéter Dimitrov <[email protected]>2018-06-20 15:18:37 +0200
commitdeaadf9e82cee43a3bbc5185e811153f455b9669 (patch)
tree1f700eda56c1468b12c98dcf627260b0a9322a1b /lib/ssl/src/logger_ssl_formatter.erl
parent0360e26f440e2f1ce81eb286e3ba657a56f666d5 (diff)
downloadotp-deaadf9e82cee43a3bbc5185e811153f455b9669.tar.gz
otp-deaadf9e82cee43a3bbc5185e811153f455b9669.tar.bz2
otp-deaadf9e82cee43a3bbc5185e811153f455b9669.zip
ssl: Add initial ssl log formatter
Change-Id: I649a686ee72fa8bbe1e1dbc44ed5ec2df9662b10
Diffstat (limited to 'lib/ssl/src/logger_ssl_formatter.erl')
-rw-r--r--lib/ssl/src/logger_ssl_formatter.erl26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/ssl/src/logger_ssl_formatter.erl b/lib/ssl/src/logger_ssl_formatter.erl
new file mode 100644
index 0000000000..b17100c1f5
--- /dev/null
+++ b/lib/ssl/src/logger_ssl_formatter.erl
@@ -0,0 +1,26 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 1999-2017. 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.
+%% You may obtain a copy of the License at
+%%
+%% http://www.apache.org/licenses/LICENSE-2.0
+%%
+%% Unless required by applicable law or agreed to in writing, software
+%% distributed under the License is distributed on an "AS IS" BASIS,
+%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+%% See the License for the specific language governing permissions and
+%% limitations under the License.
+%%
+%% %CopyrightEnd%
+%%
+
+-module(logger_ssl_formatter).
+
+-export([format/2]).
+
+format(Log, Extra) ->
+ logger_formatter:format(Log, Extra).