stumpless 2.2.0
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: Apache-2.0 */
2
3/*
4 * Copyright 2018-2024 Joel E. Anderson
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
27#ifndef __STUMPLESS_CONFIG_H
28#define __STUMPLESS_CONFIG_H
29
31#define STUMPLESS_PUBLIC_FUNCTION __attribute__ ((visibility ("default")))
32
40#define STUMPLESS_CHAIN_TARGET_ARRAY_LENGTH 4
41
43#define STUMPLESS_DEFAULT_FACILITY STUMPLESS_FACILITY_USER
44
46#define STUMPLESS_DEFAULT_FILE "stumpless-default.log"
47
49#define STUMPLESS_DEFAULT_SEVERITY STUMPLESS_SEVERITY_INFO
50
52#define STUMPLESS_DEFAULT_SOCKET "/dev/log"
53
55#define STUMPLESS_FALLBACK_PAGESIZE 4096
56
58#define STUMPLESS_LANGUAGE "en-US"
59
61#define STUMPLESS_CHAIN_TARGETS_SUPPORTED 1
62
64#define STUMPLESS_JOURNALD_TARGETS_SUPPORTED 1
65
67#define STUMPLESS_NETWORK_TARGETS_SUPPORTED 1
68
70#define STUMPLESS_SOCKET_TARGETS_SUPPORTED 1
71
78#define STUMPLESS_DEFAULT_SQLITE3_TABLE_NAME_STRING \
79"logs"
80
86#define STUMPLESS_SQLITE3_RETRY_MAX 3
87
89#define STUMPLESS_SQLITE3_TARGETS_SUPPORTED 1
90
92#define STUMPLESS_SYSLOG_H_COMPATIBLE 1
93
95#define STUMPLESS_THREAD_SAFETY_SUPPORTED 1
96
98#define STUMPLESS_WINDOWS_EVENT_LOG_TARGETS_SUPPORTED 1
99
101#define STUMPLESS_DEPRECATION_WARNINGS_ENABLED 1
102
104#define STUMPLESS_MAJOR_VERSION 2
105
107#define STUMPLESS_MINOR_VERSION 2
108
110#define STUMPLESS_PATCH_VERSION 0
111
117#define STUMPLESS_VERSION "2.2.0"
118
119#endif /* __STUMPLESS_CONFIG_H */