stumpless 2.2.0
|
A log entry. More...
#include <entry.h>
Data Fields | |
stumpless_id_t | id |
A unique identifier of this entry. | |
char | procid [128+1] |
The procid of this entry, as a NULL-terminated string. | |
size_t | procid_length |
The length of the procid of this entry (in bytes), without a NULL terminator. | |
char | hostname [255+1] |
The hostname of this entry, as a NULL-terminated string. | |
size_t | hostname_length |
The length of the hostname of this entry (in bytes), without a NULL terminator. | |
int | prival |
The prival of this entry. | |
char | app_name [48+1] |
The app name of this entry, as a NULL-terminated string. | |
size_t | app_name_length |
The length of the app name, without the NULL terminator. | |
char * | message |
The message of this entry, as a NULL-terminated string. | |
size_t | message_length |
The length of the message in bytes, without the NULL terminator. | |
char | msgid [32+1] |
The message id of this entry, as a NULL-terminated string. | |
size_t | msgid_length |
The length of the message id, without the NULL terminator. | |
struct stumpless_element ** | elements |
An array holding the elements of this entry. | |
size_t | element_count |
The number of elements in this entry. | |
A log entry.
Entries are the basic element of logging within the library. Note that although many of the members are character strings, they are not guaranteed to be NULL terminated and should not be used with standard string functions.
char stumpless_entry::app_name[48+1] |
The app name of this entry, as a NULL-terminated string.
size_t stumpless_entry::app_name_length |
The length of the app name, without the NULL terminator.
size_t stumpless_entry::element_count |
The number of elements in this entry.
struct stumpless_element** stumpless_entry::elements |
An array holding the elements of this entry.
char stumpless_entry::hostname[255+1] |
The hostname of this entry, as a NULL-terminated string.
size_t stumpless_entry::hostname_length |
The length of the hostname of this entry (in bytes), without a NULL terminator.
If this is zero, then the default hostname will be used.
stumpless_id_t stumpless_entry::id |
A unique identifier of this entry.
char* stumpless_entry::message |
The message of this entry, as a NULL-terminated string.
This may be NULL if the entry does not have a message set.
size_t stumpless_entry::message_length |
The length of the message in bytes, without the NULL terminator.
char stumpless_entry::msgid[32+1] |
The message id of this entry, as a NULL-terminated string.
size_t stumpless_entry::msgid_length |
The length of the message id, without the NULL terminator.
int stumpless_entry::prival |
The prival of this entry.
This is a combination of the facility and severity of the event, combined using a bitwise or.
char stumpless_entry::procid[128+1] |
The procid of this entry, as a NULL-terminated string.
size_t stumpless_entry::procid_length |
The length of the procid of this entry (in bytes), without a NULL terminator.
If this is zero, then the default procid will be used.