index ae653af2ce6250ea75a039def23b3fac1d6b7ddd..d00ee8c0f980b5abf8590b99f073a3344d0cdb1b 100644 (file)
: ((prio) == SDB_LOG_INFO) ? "INFO" \
: ((prio) == SDB_LOG_DEBUG) ? "DEBUG" : "UNKNOWN")
+#ifndef SDB_DEFAULT_LOGLEVEL
+# define SDB_DEFAULT_LOGLEVEL SDB_LOG_INFO
+#endif
+
/*
* sdb_error_set_logger:
* Set the logging callback to be used for logging messages. By default (or