mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-15 00:34:05 +09:00
only call utils_data_to_string in -d debug mode
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*=================================================================
|
||||
* modified by fduncanh 2023
|
||||
*/
|
||||
|
||||
#ifndef LOGGER_H
|
||||
@@ -37,6 +40,7 @@ logger_t *logger_init();
|
||||
void logger_destroy(logger_t *logger);
|
||||
|
||||
void logger_set_level(logger_t *logger, int level);
|
||||
int logger_get_level(logger_t *logger);
|
||||
void logger_set_callback(logger_t *logger, logger_callback_t callback, void *cls);
|
||||
|
||||
void logger_log(logger_t *logger, int level, const char *fmt, ...);
|
||||
|
||||
Reference in New Issue
Block a user