| DC_CONTEXT_SET_LOGLEVEL(3) | Library Functions Manual | DC_CONTEXT_SET_LOGLEVEL(3) | 
dc_context_set_loglevel —
#include
  <libdivecomputer/context.h>
dc_status_t
  
  dc_context_set_loglevel(dc_context_t
    *context, dc_loglevel_t loglevel);
DC_LOGLEVEL_NONEDC_LOGLEVEL_ERRORDC_LOGLEVEL_WARNINGDC_LOGLEVEL_INFODC_LOGLEVEL_DEBUGDC_LOGLEVEL_ALLBy setting, for exammple,
    DC_LOGLEVEL_INFO, all events of
    DC_LOGLEVEL_ERROR,
    DC_LOGLEVEL_WARNING, and
    DC_LOGLEVEL_INFO will be reported via the callback
    in
    dc_context_set_logfunc(3).
DC_STATUS_OK on setting the log level,
  DC_STATUS_INVALIDARGS if context
  is NULL, or another error code on failure.
| January 5, 2017 | NetBSD 9.0 |