src/log.h File Reference

#include <glib.h>
#include <stdbool.h>

Go to the source code of this file.

Functions

static G_GNUC_CONST GQuark log_quark (void)
void log_early_init (bool verbose)
 Configure a logging destination for daemon startup, before the configuration file is read.
bool log_init (bool verbose, bool use_stdout, GError **error_r)
void log_deinit (void)
void setup_log_output (bool use_stdout)
int cycle_log_files (void)

Function Documentation

int cycle_log_files ( void   ) 
void log_deinit ( void   ) 
void log_early_init ( bool  verbose  ) 

Configure a logging destination for daemon startup, before the configuration file is read.

This allows the daemon to use the logging library (and the command line verbose level) before it's daemonized.

Parameters:
verbose true when the program is started with --verbose
bool log_init ( bool  verbose,
bool  use_stdout,
GError **  error_r 
)
static G_GNUC_CONST GQuark log_quark ( void   )  [inline, static]

Definition at line 28 of file log.h.

void setup_log_output ( bool  use_stdout  ) 

Generated on 17 Jul 2013 for MPD by  doxygen 1.6.1