From c9df2dee998b1d67d3141614e96a36d062ffa0fa Mon Sep 17 00:00:00 2001 From: L-diy Date: Tue, 31 Oct 2023 19:00:42 +0100 Subject: [PATCH] Fix typos in the Logging section of README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6192e98..c428fdb 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ This log level filters out messages with a lower priority. Additionally, you have the flexibility to override the log level for individual tags (but not lower than the global log level). This can be archived by calling the following function: ```c -logger_set_level(LOG_TAG, LOG_LEVEL); +logger_set_log_level(LOG_TAG, LOG_LEVEL); ``` If the log level for a tag is not set, the global log level is used. @@ -82,8 +82,8 @@ For instance, a log entry may look like this: static const char *TAG = "main"; int main(void) { - // Set log level for tag "main" to LOG_INFO - logger_set_level(TAG, LOG_INFO); + // Set log level for tag "main" to LOG_LEVEL_INFO + logger_set_log_level(TAG, LOG_LEVEL_INFO); LOG_DEBUG(TAG, "This message will not be printed"); LOG_INFO(TAG, "This message will be printed");