libnslog
Public Attributes | List of all members
nslog_category_s Struct Reference

#include <nslog.h>

Public Attributes

const char * cat_name
 
const char * description
 
struct nslog_category_sparent
 
char * name
 
int namelen
 
struct nslog_category_snext
 

Detailed Description

Logging category

This structure is used internally by nslog to manage categories for logging. Categories are declared by the NSLOG_DECLARE_CATEGORY and defined by either NSLOG_DEFINE_CATEGORY and NSLOG_DEFINE_SUBCATEGORY.

It is not recommended that clients of nslog look inside the category structs excepting the name (and namelen) values. In addition you should only trust those values when handling a log callback.

Definition at line 92 of file nslog.h.

Member Data Documentation

◆ cat_name

const char* nslog_category_s::cat_name

The category leaf name (static)

Definition at line 93 of file nslog.h.

◆ description

const char* nslog_category_s::description

The category description (static)

Definition at line 94 of file nslog.h.

◆ name

char* nslog_category_s::name

The fully qualified category name (owned by nslog)

Definition at line 96 of file nslog.h.

◆ namelen

int nslog_category_s::namelen

The length of the category name

Definition at line 97 of file nslog.h.

◆ next

struct nslog_category_s* nslog_category_s::next

Link to next category (internal)

Definition at line 98 of file nslog.h.

◆ parent

struct nslog_category_s* nslog_category_s::parent

The category's parent (static)

Definition at line 95 of file nslog.h.


The documentation for this struct was generated from the following file: