feisty meow concerns codebase  2.140
file_logger.h File Reference
#include "console_logger.h"
#include "eol_aware.h"
#include "filter_set.h"
#include <basis/astring.h>
#include <basis/contracts.h>
#include <basis/functions.h>
#include <basis/mutex.h>
#include <filesystem/byte_filer.h>
#include <textual/parser_bits.h>
Include dependency graph for file_logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  loggers::file_logger
 

Namespaces

 loggers
 A logger that sends to the console screen using the standard output device.
 

Macros

#define SETUP_FILE_LOGGER
 a macro that retasks the program-wide logger as a file_logger. More...
 

Macro Definition Documentation

◆ SETUP_FILE_LOGGER

#define SETUP_FILE_LOGGER
Value:
{ \
loggers::standard_log_base *old_log = loggers::program_wide_logger::set \
WHACK(old_log); \
}
static basis::astring log_file_for_app_name()
returns a log file name for file_logger based on the program name.
Definition: file_logger.cpp:87
static loggers::standard_log_base * set(loggers::standard_log_base *new_log)
replaces the current program-wide logger with the "new_log".

a macro that retasks the program-wide logger as a file_logger.

Definition at line 130 of file file_logger.h.