From 336e7eed4e44fe9267234e4702db6fd613064dcd Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Wed, 2 May 2018 18:57:23 +0200 Subject: Improve documentation of logger:set_*_config functions --- lib/kernel/doc/src/logger.xml | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/lib/kernel/doc/src/logger.xml b/lib/kernel/doc/src/logger.xml index ded9c1fb37..2beefd1240 100644 --- a/lib/kernel/doc/src/logger.xml +++ b/lib/kernel/doc/src/logger.xml @@ -404,21 +404,55 @@ Current logger configuration: + Set configuration data for the logger. + +

Set configuration data for the logger. This overwrites the + current logger configuration.

+

To modify the existing configuration, + use set_logger_config/2 + , or read the current configuration + with get_logger_config/0 + , then merge in your added or updated + associations before writing it back.

+
+
+ + Add or update configuration data for the logger. -

Add or update configuration data for the logger.

+

Add or update configuration data for the logger. If the + given Key already exists, its associated + value will be set to Value. If it + doesn't exist, it will be added.

+ Set configuration data for the specified handler. + +

Set configuration data for the specified handler. This + overwrites the current handler configuration.

+

To modify the existing configuration, + use set_handler_config/3 + , or read the current configuration + with get_handler_config/1 + , then merge in your added or updated + associations before writing it back.

+
+
+ + Add or update configuration data for the specified handler.

Add or update configuration data for the specified - handler.

+ handler. If the + given Key already exists, its associated + value will be set to Value. If it + doesn't exist, it will be added.

-- cgit v1.2.3