Chuck Swiger / Pubnub_c_core

Fork of Pubnub_c_core by Srdjan Veljkovic

Embed: (wiki syntax)

« Back to documentation index

pubnub_log.h File Reference

pubnub_log.h File Reference

This is the "Log" API of the Pubnub client library. More...

Go to the source code of this file.

Enumerations

enum  pubnub_log_level {
  PUBNUB_LOG_LEVEL_NONE, PUBNUB_LOG_LEVEL_ERROR, PUBNUB_LOG_LEVEL_WARNING, PUBNUB_LOG_LEVEL_INFO,
  PUBNUB_LOG_LEVEL_DEBUG, PUBNUB_LOG_LEVEL_TRACE
}
 

Available Log levels.

More...

Detailed Description

This is the "Log" API of the Pubnub client library.

Designed for C-core's own use, but not restricted to it. Provides a reasonably-well-featured, yet small and efficient API for logging.

Definition in file pubnub_log.h.


Enumeration Type Documentation

Available Log levels.

Enumerator:
PUBNUB_LOG_LEVEL_NONE 

Nothing is logged.

PUBNUB_LOG_LEVEL_ERROR 

Only Errors are logged.

PUBNUB_LOG_LEVEL_WARNING 

Warnings (and errors) are logged.

PUBNUB_LOG_LEVEL_INFO 

Informational messages (and warnings and errors) are logged.

PUBNUB_LOG_LEVEL_DEBUG 

Debugging messages (and info and warning and errors) are logged.

PUBNUB_LOG_LEVEL_TRACE 

Tracing messages (and debug and info and warning and errors) are logged.

Definition at line 14 of file pubnub_log.h.