ucx/logging.h

changeset 67
27e67e725d35
parent 57
e18157c52985
child 69
fb59270b1de3
     1.1 --- a/ucx/logging.h	Thu Oct 11 08:42:56 2012 +0200
     1.2 +++ b/ucx/logging.h	Thu Oct 11 11:42:31 2012 +0200
     1.3 @@ -22,7 +22,8 @@
     1.4  UcxLogger *ucx_logger_new(FILE *stream, unsigned int level);
     1.5  /* neither provide a free function nor a parameter for an allocator */
     1.6  
     1.7 -void ucx_logger_log(UcxLogger *logger, unsigned int level, sstr_t message);
     1.8 +void ucx_logger_log(UcxLogger *logger, unsigned int level,
     1.9 +        const sstr_t message);
    1.10  #define ucx_logger_error(l,m) ucx_logger_log(l, UCX_LOGGER_ERROR, m)
    1.11  #define ucx_logger_info(l,m) ucx_logger_log(l, UCX_LOGGER_INFO, m)
    1.12  #define ucx_logger_warn(l,m) ucx_logger_log(l, UCX_LOGGER_WARN, m)

mercurial