aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-10-29 11:53:10 +0100
committerLukas Larsson <[email protected]>2019-01-10 10:19:46 +0100
commit22550188406d4956ad64aecde38190a2f72eeacd (patch)
treef0d37bc9cff3988fbc91b01fa810f5620669d666 /erts/preloaded/src
parent78e67434b34813b8efe61f8e8dca445dd12b0f7b (diff)
downloadotp-22550188406d4956ad64aecde38190a2f72eeacd.tar.gz
otp-22550188406d4956ad64aecde38190a2f72eeacd.tar.bz2
otp-22550188406d4956ad64aecde38190a2f72eeacd.zip
erts: Add erlang:system_flag(system_logger,_)
This flag allows logger and other components to set the process which log messages from ERTS are to be sent.
Diffstat (limited to 'erts/preloaded/src')
-rw-r--r--erts/preloaded/src/erlang.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index c20082a545..5730e999cb 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -2526,6 +2526,9 @@ subtract(_,_) ->
OldSchedulersOnline when
SchedulersOnline :: pos_integer(),
OldSchedulersOnline :: pos_integer();
+ (system_logger, Logger) -> PrevLogger when
+ Logger :: logger | undefined | pid(),
+ PrevLogger :: logger | undefined | pid();
(trace_control_word, TCW) -> OldTCW when
TCW :: non_neg_integer(),
OldTCW :: non_neg_integer();
@@ -2731,8 +2734,9 @@ tuple_to_list(_Tuple) ->
(schedulers | schedulers_online) -> pos_integer();
(smp_support) -> boolean();
(start_time) -> integer();
- (system_version) -> string();
(system_architecture) -> string();
+ (system_logger) -> logger | undefined | pid();
+ (system_version) -> string();
(threads) -> boolean();
(thread_pool_size) -> non_neg_integer();
(time_correction) -> true | false;