This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
SisMaker
/
lager
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
53
Wiki
Activity
Browse Source
Debugging
adt/lager_use_logger-option
Andrew Thompson
6 years ago
parent
9ed7ee8f69
commit
8ac924b748
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/lager_logger_formatter.erl
+ 1
- 0
src/lager_logger_formatter.erl
View File
@ -36,6 +36,7 @@ format(#{level := Level, msg := {report, #{label := {supervisor, progress}, repo
%
%
supervisor
itself
starting
{
mfa
,
{
Module
,
Function
,
Args
}
}
=
lists
:
keyfind
(
mfa
,
1
,
Started
)
,
{
pid
,
Pid
}
=
lists
:
keyfind
(
pid
,
1
,
Started
)
,
io
:
format
(
"
~p
~p
~p
"
,
[
Name
,
{
Module
,
Function
,
Args
}
,
Pid
]
)
,
lager_format
:
format
(
"
Supervisor
~w
started as
~p
at pid
~w
"
,
[
Name
,
error_logger_lager_h
:
format_mfa
(
Module
,
Function
,
Args
)
,
Pid
]
,
maps
:
get
(
max_size
,
Config
,
1024
)
)
;
{
id
,
ChildID
}
-
>
case
lists
:
keyfind
(
pid
,
1
,
Started
)
of
Write
Preview
Loading…
Cancel
Save