stumpless  2.1.0
Macros
config.h File Reference

Go to the source code of this file.

Macros

#define STUMPLESS_PUBLIC_FUNCTION   __attribute__ ((visibility ("default")))
 Marks functions that are provided for use by the library. More...
 
#define STUMPLESS_DEFAULT_FACILITY   STUMPLESS_FACILITY_USER
 The facility code to use when one is not supplied. More...
 
#define STUMPLESS_DEFAULT_SEVERITY   STUMPLESS_SEVERITY_INFO
 The severity code to use when one is not supplied. More...
 
#define STUMPLESS_DEFAULT_SOCKET   "/dev/log"
 A string literal with the default socket logged to. More...
 
#define STUMPLESS_FALLBACK_PAGESIZE   4096
 The memory page size used for dynamic memory allocations. More...
 
#define STUMPLESS_LANGUAGE   "en-US"
 The language stumpless was built for, as an RFC 5646 language tag. More...
 
#define STUMPLESS_JOURNALD_TARGETS_SUPPORTED   1
 Defined if journald targets are supported by this build. More...
 
#define STUMPLESS_NETWORK_TARGETS_SUPPORTED   1
 Defined if network targets are supported by this build. More...
 
#define STUMPLESS_SOCKET_TARGETS_SUPPORTED   1
 Defined if socket targets are supported by this build. More...
 
#define STUMPLESS_SYSLOG_H_COMPATIBLE   1
 Defined if this build can directly replace syslog.h usage. More...
 
#define STUMPLESS_THREAD_SAFETY_SUPPORTED   1
 Defined if thread-safe functionality is supported. More...
 
#define STUMPLESS_WINDOWS_EVENT_LOG_TARGETS_SUPPORTED   1
 Defined if Windows Event Log targets are supported by this build. More...
 
#define STUMPLESS_DEPRECATION_WARNINGS_ENABLED   1
 Defined if deprecation warnings are printed to standard output. More...
 
#define STUMPLESS_MAJOR_VERSION   2
 The major version of this stumpless build. More...
 
#define STUMPLESS_MINOR_VERSION   1
 The minor version of this stumpless build. More...
 
#define STUMPLESS_PATCH_VERSION   0
 The patch version of this stumpless build. More...
 
#define STUMPLESS_VERSION   "2.1.0"
 The version of stumpless this library was built with. More...
 

Detailed Description

Configuration information to provide to code built with the library.

Macro Definition Documentation

◆ STUMPLESS_DEFAULT_FACILITY

#define STUMPLESS_DEFAULT_FACILITY   STUMPLESS_FACILITY_USER

The facility code to use when one is not supplied.

◆ STUMPLESS_DEFAULT_SEVERITY

#define STUMPLESS_DEFAULT_SEVERITY   STUMPLESS_SEVERITY_INFO

The severity code to use when one is not supplied.

◆ STUMPLESS_DEFAULT_SOCKET

#define STUMPLESS_DEFAULT_SOCKET   "/dev/log"

A string literal with the default socket logged to.

◆ STUMPLESS_DEPRECATION_WARNINGS_ENABLED

#define STUMPLESS_DEPRECATION_WARNINGS_ENABLED   1

Defined if deprecation warnings are printed to standard output.

◆ STUMPLESS_FALLBACK_PAGESIZE

#define STUMPLESS_FALLBACK_PAGESIZE   4096

The memory page size used for dynamic memory allocations.

◆ STUMPLESS_JOURNALD_TARGETS_SUPPORTED

#define STUMPLESS_JOURNALD_TARGETS_SUPPORTED   1

Defined if journald targets are supported by this build.

◆ STUMPLESS_LANGUAGE

#define STUMPLESS_LANGUAGE   "en-US"

The language stumpless was built for, as an RFC 5646 language tag.

◆ STUMPLESS_MAJOR_VERSION

#define STUMPLESS_MAJOR_VERSION   2

The major version of this stumpless build.

◆ STUMPLESS_MINOR_VERSION

#define STUMPLESS_MINOR_VERSION   1

The minor version of this stumpless build.

◆ STUMPLESS_NETWORK_TARGETS_SUPPORTED

#define STUMPLESS_NETWORK_TARGETS_SUPPORTED   1

Defined if network targets are supported by this build.

◆ STUMPLESS_PATCH_VERSION

#define STUMPLESS_PATCH_VERSION   0

The patch version of this stumpless build.

◆ STUMPLESS_PUBLIC_FUNCTION

#define STUMPLESS_PUBLIC_FUNCTION   __attribute__ ((visibility ("default")))

Marks functions that are provided for use by the library.

◆ STUMPLESS_SOCKET_TARGETS_SUPPORTED

#define STUMPLESS_SOCKET_TARGETS_SUPPORTED   1

Defined if socket targets are supported by this build.

◆ STUMPLESS_SYSLOG_H_COMPATIBLE

#define STUMPLESS_SYSLOG_H_COMPATIBLE   1

Defined if this build can directly replace syslog.h usage.

◆ STUMPLESS_THREAD_SAFETY_SUPPORTED

#define STUMPLESS_THREAD_SAFETY_SUPPORTED   1

Defined if thread-safe functionality is supported.

◆ STUMPLESS_VERSION

#define STUMPLESS_VERSION   "2.1.0"

The version of stumpless this library was built with.

This will be in standard semantic versioning format: 'major.minor.patch'.

◆ STUMPLESS_WINDOWS_EVENT_LOG_TARGETS_SUPPORTED

#define STUMPLESS_WINDOWS_EVENT_LOG_TARGETS_SUPPORTED   1

Defined if Windows Event Log targets are supported by this build.