mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
os: direct access to logVerbosity
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>
This commit is contained in:
committed by
Enrico Weigelt, metux IT consult .
parent
4fa8b1658b
commit
3640a33077
2
os/log.c
2
os/log.c
@@ -111,9 +111,9 @@ OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#define DEFAULT_LOG_FILE_VERBOSITY 3
|
||||
|
||||
Bool logSync = FALSE;
|
||||
int logVerbosity = DEFAULT_LOG_VERBOSITY;
|
||||
|
||||
static int logFileFd = -1;
|
||||
static int logVerbosity = DEFAULT_LOG_VERBOSITY;
|
||||
static int logFileVerbosity = DEFAULT_LOG_FILE_VERBOSITY;
|
||||
|
||||
/* Buffer to information logged before the log file is opened. */
|
||||
|
||||
@@ -15,4 +15,12 @@
|
||||
*/
|
||||
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;
|
||||
|
||||
#endif /* _XSERVER_LOG_PRIV_H */
|
||||
|
||||
Reference in New Issue
Block a user