logger: with MU_LOG_STDOUTERR, write logs to console

For debugging
This commit is contained in:
Dirk-Jan C. Binnema
2022-03-12 14:57:37 +02:00
parent 5b121352c2
commit 673929f169
2 changed files with 10 additions and 4 deletions

View File

@ -40,6 +40,9 @@ enum struct LogOptions {
* logging fails -- practically, it goes to the file if there's
* systemd/journald.
*
* if the environment variable MU_LOG_STDOUTERR is set, LogOptions::StdoutErr is
* implied.
*
* @param path path to the log file
* @param opts logging options
*/