WIP: Ha! There's a bug, this verbose logging change made it easier to see
This commit is contained in:
parent
9e587b3d11
commit
90df655256
1 changed files with 5 additions and 6 deletions
|
@ -1059,16 +1059,15 @@ react_to_env_C110(P_latest, #ch_mgr{name=MyName} = S) ->
|
||||||
{HH,MM,SS} = time(),
|
{HH,MM,SS} = time(),
|
||||||
case inner_projection_exists(P_latest2) of
|
case inner_projection_exists(P_latest2) of
|
||||||
false ->
|
false ->
|
||||||
ok;
|
io:format(user, "\n~2..0w:~2..0w:~2..0w.~3..0w ~p uses plain: ~w\n",
|
||||||
true ->
|
|
||||||
P_inner = inner_projection_or_self(P_latest2),
|
|
||||||
io:format(user, "\n~2..0w:~2..0w:~2..0w.~3..0w ~p uses INNER: ~w\n",
|
|
||||||
[HH,MM,SS,MSec, S#ch_mgr.name,
|
|
||||||
machi_projection:make_summary(P_inner)])
|
|
||||||
end,
|
|
||||||
io:format(user, "\n~2..0w:~2..0w:~2..0w.~3..0w ~p uses: ~w\n",
|
|
||||||
[HH,MM,SS,MSec, S#ch_mgr.name,
|
[HH,MM,SS,MSec, S#ch_mgr.name,
|
||||||
machi_projection:make_summary(P_latest2)]);
|
machi_projection:make_summary(P_latest2)]);
|
||||||
|
true ->
|
||||||
|
P_inner = inner_projection_or_self(P_latest2),
|
||||||
|
io:format(user, "\n~2..0w:~2..0w:~2..0w.~3..0w ~p uses inner: ~w\n",
|
||||||
|
[HH,MM,SS,MSec, S#ch_mgr.name,
|
||||||
|
machi_projection:make_summary(P_inner)])
|
||||||
|
end;
|
||||||
_ ->
|
_ ->
|
||||||
ok
|
ok
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in a new issue