libnslog
|
#include <nslog.h>
Public Attributes | |
nslog_category_t * | category |
nslog_level | level |
const char * | filename |
int | filenamelen |
const char * | funcname |
int | funcnamelen |
int | lineno |
Log entry context
When logging, nslog will create an entry context and pass it to the log callback. This context tells you everything about the log entry being created (except the message) and is ephemeral (if you need the content beyond the scope of the log callback, copy it).
nslog_category_t* nslog_entry_context_s::category |
const char* nslog_entry_context_s::filename |
int nslog_entry_context_s::filenamelen |
const char* nslog_entry_context_s::funcname |
int nslog_entry_context_s::funcnamelen |
nslog_level nslog_entry_context_s::level |
int nslog_entry_context_s::lineno |