aboutsummaryrefslogtreecommitdiffstats
path: root/Source/lib/utils/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/lib/utils/logger.h')
-rw-r--r--Source/lib/utils/logger.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/lib/utils/logger.h b/Source/lib/utils/logger.h
index 322bb3264..dec73078e 100644
--- a/Source/lib/utils/logger.h
+++ b/Source/lib/utils/logger.h
@@ -110,7 +110,7 @@ struct logger_t {
* @param format printf like format string
* @param ... printf like parameters
*/
- void (*log) (logger_t *this, log_level_t log_level, char *format, ...);
+ void (*log) (logger_t *this, log_level_t log_level, const char *format, ...);
/**
* @brief Log some bytes, useful for debugging.
@@ -124,7 +124,7 @@ struct logger_t {
* @param bytes pointer to the bytes to dump
* @param len number of bytes to dump
*/
- void (*log_bytes) (logger_t *this, log_level_t loglevel, char *label, char *bytes, size_t len);
+ void (*log_bytes) (logger_t *this, log_level_t loglevel, const char *label, const char *bytes, size_t len);
/**
* @brief Log a chunk, useful for debugging.
@@ -137,7 +137,7 @@ struct logger_t {
* @param label a labeling name, logged with the bytes
* @param chunk chunk to log
*/
- void (*log_chunk) (logger_t *this, log_level_t loglevel, char *label, chunk_t chunk);
+ void (*log_chunk) (logger_t *this, log_level_t loglevel, const char *label, chunk_t chunk);
/**
* @brief Enables a loglevel for the current logger_t object.