MPD: LogInit.hxx File Reference

MPD 0.20.18

Functions
LogInit.hxx File Reference

Go to the source code of this file.

## Functions
void | log_early_init (bool verbose)
| Configure a logging destination for daemon startup, before the configuration file is read. More...
void | log_init (bool verbose, bool use_stdout)
| Throws #std::runtime_error on error. More...
void | log_deinit ()
void | setup_log_output ()
int | cycle_log_files ()

## Function Documentation

## ◆ cycle_log_files()

int cycle_log_files | ( |  | ) |

## ◆ log_deinit()

void log_deinit | ( |  | ) |

## ◆ log_early_init()

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

## ◆ log_init()

void log_init | ( | bool | verbose,
|  | bool | use_stdout
| ) |  |

Throws #std::runtime_error on error.

## ◆ setup_log_output()

void setup_log_output | ( |  | ) |