Files
xserver/os/log_priv.h
Enrico Weigelt, metux IT consult cc4e5d08d3 os: direct access to logFileVerbosity
No need for complicated 'generic' setter, just make the variable
itself available to DDX'es.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-02-11 15:53:52 +01:00

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 */