MilterLogger 3 milter managerライブラリ
MilterLogger

## Functions

#define | milter_log()
#define | milter_error()
#define | milter_critical()
#define | milter_message()
#define | milter_warning()
#define | milter_debug()
#define | milter_info()
#define | milter_statistics()
#define | MILTER_LOG_LEVEL_ALL
#define | MILTER_LOG_ITEM_ALL
GQuark | milter_logger_error_quark ()
MilterLogLevelFlags | milter_log_level_flags_from_string ()
MilterLogger * | milter_logger ()
void | milter_logger_default_log_handler ()
MilterLogger * | milter_logger_new ()
void | milter_logger_log ()
void | milter_logger_log_va_list ()
MilterLogLevelFlags | milter_logger_get_target_level ()
void | milter_logger_set_target_level ()

## Types and Values

enum | MilterLogLevelFlags
enum | MilterLogItemFlags
enum | MilterLogColorize
struct | MilterLogger

## 説明

## Functions

### milter_log()

    #define             milter_log(level, format, ...)

milter_log

### milter_error()

    #define             milter_error(format, ...)

milter_error

### milter_critical()

    #define             milter_critical(format, ...)

milter_critical

### milter_message()

    #define             milter_message(format, ...)

milter_message

### milter_warning()

    #define             milter_warning(format, ...)

milter_warning

### milter_debug()

    #define             milter_debug(format, ...)

milter_debug

### milter_info()

    #define             milter_info(format, ...)

milter_info

### milter_statistics()

    #define             milter_statistics(format, ...)

milter_statistics

### MILTER_LOG_LEVEL_ALL

    #define             MILTER_LOG_LEVEL_ALL

MILTER_LOG_LEVEL_ALL

### MILTER_LOG_ITEM_ALL

    #define             MILTER_LOG_ITEM_ALL

MILTER_LOG_ITEM_ALL

### milter_logger_error_quark ()

    GQuark
    milter_logger_error_quark (void);

#### Returns

milter_logger_error_quark

### milter_log_level_flags_from_string ()

    MilterLogLevelFlags
    milter_log_level_flags_from_string (const gchar *level_name,
                                        MilterLogLevelFlags base_flags,
                                        GError **error);

#### Returns

milter_log_level_flags_from_string

### milter_logger ()

    MilterLogger *
    milter_logger (void);

#### Returns

milter_logger

### milter_logger_default_log_handler ()

    void
    milter_logger_default_log_handler (MilterLogger *logger,
                                       const gchar *domain,
                                       MilterLogLevelFlags level,
                                       const gchar *file,
                                       guint line,
                                       const gchar *function,
                                       GTimeVal *time_value,
                                       const gchar *message,
                                       gpointer user_data);

milter_logger_default_log_handler

### milter_logger_new ()

    MilterLogger *
    milter_logger_new (void);

#### Returns

milter_logger_new

### milter_logger_log ()

    void
    milter_logger_log (MilterLogger *logger,
                       const gchar *domain,
                       MilterLogLevelFlags level,
                       const gchar *file,
                       guint line,
                       const gchar *function,
                       const gchar *format,
                       ...);

milter_logger_log

### milter_logger_log_va_list ()

    void
    milter_logger_log_va_list (MilterLogger *logger,
                               const gchar *domain,
                               MilterLogLevelFlags level,
                               const gchar *file,
                               guint line,
                               const gchar *function,
                               const gchar *format,
                               va_list args);

milter_logger_log_va_list

### milter_logger_get_target_level ()

    MilterLogLevelFlags
    milter_logger_get_target_level (MilterLogger *logger);

#### Returns

milter_logger_get_target_level

### milter_logger_set_target_level ()

    void
    milter_logger_set_target_level (MilterLogger *logger,
                                    MilterLogLevelFlags level);

milter_logger_set_target_level

## Types and Values

### enum MilterLogLevelFlags

#### Members

MILTER_LOG_LEVEL_DEFAULT |  |
MILTER_LOG_LEVEL_NONE |  |
MILTER_LOG_LEVEL_CRITICAL |  |
MILTER_LOG_LEVEL_ERROR |  |
MILTER_LOG_LEVEL_WARNING |  |
MILTER_LOG_LEVEL_MESSAGE |  |
MILTER_LOG_LEVEL_INFO |  |
MILTER_LOG_LEVEL_DEBUG |  |
MILTER_LOG_LEVEL_TRACE |  |
MILTER_LOG_LEVEL_STATISTICS |  |
MILTER_LOG_LEVEL_PROFILE |  |

MilterLogLevelFlags

### enum MilterLogItemFlags

#### Members

MILTER_LOG_ITEM_DEFAULT |  |
MILTER_LOG_ITEM_NONE |  |
MILTER_LOG_ITEM_DOMAIN |  |
MILTER_LOG_ITEM_LEVEL |  |
MILTER_LOG_ITEM_LOCATION |  |
MILTER_LOG_ITEM_TIME |  |
MILTER_LOG_ITEM_NAME |  |
MILTER_LOG_ITEM_PID |  |

MilterLogItemFlags

### enum MilterLogColorize

#### Members

MILTER_LOG_COLORIZE_DEFAULT |  |
MILTER_LOG_COLORIZE_NONE |  |
MILTER_LOG_COLORIZE_CONSOLE |  |

MilterLogColorize

### struct MilterLogger

    struct MilterLogger {
        GObject object;
    };

MilterLogger