Expose function to get the current log level

This will allow to avoid unnecessary processing for creating logs which
will be discarded anyway.
This commit is contained in:
Romain Vimont
2021-06-20 12:49:45 +02:00
parent 5c95d18beb
commit 488991116b
2 changed files with 28 additions and 0 deletions

View File

@@ -17,4 +17,7 @@
void
sc_set_log_level(enum sc_log_level level);
enum sc_log_level
sc_get_log_level(void);
#endif