From 50589cbff60ce934f2157f579fdc321e40451cad Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Fri, 12 Jul 2024 12:33:26 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_log.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/SDL3/SDL_log.h b/include/SDL3/SDL_log.h index 6d7c6d626c..171cce8449 100644 --- a/include/SDL3/SDL_log.h +++ b/include/SDL3/SDL_log.h @@ -22,9 +22,14 @@ /** * # CategoryLog * - * Simple log messages with categories and priorities. + * Simple log messages with priorities and categories. A message’s + * SDL_LogPriority signifies how important the message is. A message's + * SDL_LogCategory signifies from what domain it belongs to. Every category + * has a minimum priority specified: when a message belongs to that category, + * it will only be sent out if it has that minimum priority or higher. * - * By default logs are quiet, but if you're debugging SDL you might want: + * SDL's own logs are sent below the default priority threshold, so they are + * quiet by default. If you're debugging SDL you might want: * * SDL_SetLogPriorities(SDL_LOG_PRIORITY_WARN); *