23#ifndef __STUMPLESS_LOG_H
24# define __STUMPLESS_LOG_H
27# include <stumpless/config.h>
77int stump(
const char *message, ... );
228 const char *message );
483 const char *message );
525vstump(
const char *message, va_list subs );
625vstumplog(
int priority,
const char *message, va_list subs );
#define STUMPLESS_PUBLIC_FUNCTION
Marks functions that are provided for use by the library.
定义 config.h:31
void stumplog_trace_str(int priority, const char *file, int line, const char *func, const char *message)
Logs a message to the default target with the given priority, along with the file,...
void stumplog(int priority, const char *message,...)
Logs a message to the current target with the given priority.
int vstump(const char *message, va_list subs)
Logs a message to the default target.
int stump(const char *message,...)
Logs a message to the default target.
void stumplog_str(int priority, const char *message)
Logs a message to the current target with the given priority.
void vstumplog_trace(int priority, const char *file, int line, const char *func, const char *message, va_list subs)
Logs a message to the default target with the given priority, along with the file,...
int stump_trace(const char *file, int line, const char *func, const char *message,...)
Logs a message to the default target, along with the file, line, and function information specified i...
int stump_str(const char *message)
Logs a message to the default target.
void stumplog_trace(int priority, const char *file, int line, const char *func, const char *message,...)
Logs a message to the default target with the given priority, along with the file,...
int stump_trace_str(const char *file, int line, const char *func, const char *message)
Logs a message to the default target, along with the file, line, and function information specified i...
void vstumplog(int priority, const char *message, va_list subs)
Logs a message to the default target with the given priority.
int stumplog_set_mask(int mask)
Sets the log mask of the current target.
int vstump_trace(const char *file, int line, const char *func, const char *message, va_list subs)
Logs a message to the default target, along with the file, line, and function information specified i...