aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/logger_internal.hrl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-04-30 13:58:34 +0200
committerSiri Hansen <[email protected]>2018-05-03 11:52:37 +0200
commit2ea3d7b972141ac73a1dd7f0ac1a3ccbde342f6d (patch)
tree3dcdc7fe9a75c6cae006e899a89f189b13edf462 /lib/kernel/src/logger_internal.hrl
parentf770320ddc583c1059d33ff756ad986b53848517 (diff)
downloadotp-2ea3d7b972141ac73a1dd7f0ac1a3ccbde342f6d.tar.gz
otp-2ea3d7b972141ac73a1dd7f0ac1a3ccbde342f6d.tar.bz2
otp-2ea3d7b972141ac73a1dd7f0ac1a3ccbde342f6d.zip
Set single_line=true by default in logger_formatter
Diffstat (limited to 'lib/kernel/src/logger_internal.hrl')
-rw-r--r--lib/kernel/src/logger_internal.hrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kernel/src/logger_internal.hrl b/lib/kernel/src/logger_internal.hrl
index 82df499c2b..8c0fc2725d 100644
--- a/lib/kernel/src/logger_internal.hrl
+++ b/lib/kernel/src/logger_internal.hrl
@@ -31,6 +31,7 @@
{no_domain,{fun logger_filters:domain/2,{log,no_domain,[]}}}]).
-define(DEFAULT_FORMATTER,logger_formatter).
-define(DEFAULT_FORMAT_CONFIG,#{legacy_header=>true,
+ single_line=>false,
template=>?DEFAULT_FORMAT_TEMPLATE_HEADER}).
-define(DEFAULT_FORMAT_TEMPLATE_HEADER,
[{logger_formatter,header},"\n",msg,"\n"]).