diff options
author | Lukas Larsson <[email protected]> | 2018-08-15 09:30:56 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-08-15 09:30:56 +0200 |
commit | 0aae9b681d724314584140018298a5ff9d0e6fc1 (patch) | |
tree | 18afd95f6af28e54257efc18ea4501048605ff40 /lib/kernel/doc/src | |
parent | d29d81dbdaa2f4f0588c45baf7ad7c4746de0b4c (diff) | |
parent | f49f2d060e43953c4f09e604ee2b98db33867089 (diff) | |
download | otp-0aae9b681d724314584140018298a5ff9d0e6fc1.tar.gz otp-0aae9b681d724314584140018298a5ff9d0e6fc1.tar.bz2 otp-0aae9b681d724314584140018298a5ff9d0e6fc1.zip |
lukas/kernel/logger_set_app_lvl/PR-1843/OTP-15146
Add logger:set_application_level/2
Diffstat (limited to 'lib/kernel/doc/src')
-rw-r--r-- | lib/kernel/doc/src/logger.xml | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/lib/kernel/doc/src/logger.xml b/lib/kernel/doc/src/logger.xml index f1830a8224..a4d6efa2d8 100644 --- a/lib/kernel/doc/src/logger.xml +++ b/lib/kernel/doc/src/logger.xml @@ -696,6 +696,17 @@ start(_, []) -> </func> <func> + <name name="set_application_level" arity="2"/> + <fsummary>Set the log level for all modules in the specified application.</fsummary> + <desc> + <p>Set the log level for all the modules of the specified application.</p> + <p>This function is a convenience function that calls + <seealso marker="#set_module_level/2">logger:set_module_level/2</seealso> + for each module associated with an application.</p> + </desc> + </func> + + <func> <name name="set_handler_config" arity="2"/> <fsummary>Set configuration data for the specified handler.</fsummary> <desc> @@ -782,8 +793,7 @@ start(_, []) -> <name name="set_module_level" arity="2"/> <fsummary>Set the log level for the specified modules.</fsummary> <desc> - <p>Set the log level for the - specified modules.</p> + <p>Set the log level for the specified modules.</p> <p>The log level for a module overrides the primary log level of Logger for log events originating from the module in question. Notice, however, that it does not override the @@ -839,6 +849,17 @@ start(_, []) -> </func> <func> + <name name="unset_application_level" arity="1"/> + <fsummary>Unset the log level for all modules in the specified application.</fsummary> + <desc> + <p>Unset the log level for all the modules of the specified application.</p> + <p>This function is a convinience function that calls + <seealso marker="#unset_module_level/1">logger:unset_module_level/2</seealso> + for each module associated with an application.</p> + </desc> + </func> + + <func> <name name="unset_module_level" arity="0"/> <fsummary>Remove module specific log settings for all modules.</fsummary> <desc> |