summaryrefslogtreecommitdiff
path: root/src/utils/sdl2logger.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-11 19:58:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-11 23:36:49 +0300
commitb6bf8e607146202b82b7943147fc5a99d4c46a60 (patch)
tree0465526af0ebefee944382af2869f08bfbcc7c94 /src/utils/sdl2logger.h
parentdbf65ef9c85f1b1b93fc9666bda31c5e5171b8c7 (diff)
downloadmanaplus-b6bf8e607146202b82b7943147fc5a99d4c46a60.tar.gz
manaplus-b6bf8e607146202b82b7943147fc5a99d4c46a60.tar.bz2
manaplus-b6bf8e607146202b82b7943147fc5a99d4c46a60.tar.xz
manaplus-b6bf8e607146202b82b7943147fc5a99d4c46a60.zip
Add option to set sdl logging level.
Only for SDL2.
Diffstat (limited to 'src/utils/sdl2logger.h')
-rw-r--r--src/utils/sdl2logger.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/sdl2logger.h b/src/utils/sdl2logger.h
index 78d94ca27..c3ecd1ada 100644
--- a/src/utils/sdl2logger.h
+++ b/src/utils/sdl2logger.h
@@ -28,6 +28,8 @@
namespace SDL2Logger
{
void init();
+
+ void setLogLevel(const int level);
} // namespace SDL2Logger
#endif // USE_SDL2