35 lines
793 B
C
35 lines
793 B
C
/* SPDX-License-Identifier: MIT OR X11
|
|
*
|
|
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
|
*/
|
|
#ifndef _XSERVER_LOG_PRIV_H
|
|
#define _XSERVER_LOG_PRIV_H
|
|
|
|
#include <sys/types.h>
|
|
#include <X11/Xdefs.h>
|
|
|
|
/**
|
|
* @brief force fsync() on each log write
|
|
*
|
|
* If set to TRUE, force fsync() on each log write.
|
|
*/
|
|
extern Bool logSync;
|
|
|
|
/**
|
|
* @brief console log verbosity (stderr)
|
|
*
|
|
* The verbosity level of logging to console. All messages with verbosity
|
|
* level below this one will be written to stderr
|
|
*/
|
|
extern int logVerbosity;
|
|
|
|
/**
|
|
* @brief log file verbosity
|
|
*
|
|
* The verbosity level of logging to per-display file. All messages with
|
|
* verbosity level below this one will be written to the log file.
|
|
*/
|
|
extern int logFileVerbosity;
|
|
|
|
#endif /* _XSERVER_LOG_PRIV_H */
|