clutchlog 0.17
Default configuration management

Detailed Description

Macros

#define CLUTCHLOG_DEFAULT_DEPTH_BUILT_NODEBUG   clutchlog::level::progress
 Default level over which calls to the logger are optimized out when NDEBUG is defined. More...
 

Default configuration members

#define CLUTCHLOG_DEFAULT_FORMAT   "{level_letter} {msg}\t\t\t\t\t{func} @ {file}:{line}\n"
 
#define CLUTCHDUMP_DEFAULT_FORMAT   "# {level} in {func} @ {file}:{line}"
 Compile-time default format of the comment line in file dump. More...
 
#define CLUTCHDUMP_DEFAULT_SEP   "\n"
 Compile-time default item separator for dump. More...
 
#define CLUTCHLOG_DEFAULT_DEPTH_MARK   ">"
 Compile-time default mark for stack depth. More...
 
#define CLUTCHLOG_STRIP_CALLS   5
 Compile-time number of call stack levels to remove from depth display by default. More...
 
#define CLUTCHLOG_DEFAULT_HFILL_MARK   '.'
 Character used as a filling for right-align the right part of messages with "{hfill}". More...
 

Macro Definition Documentation

◆ CLUTCHLOG_DEFAULT_DEPTH_BUILT_NODEBUG

#define CLUTCHLOG_DEFAULT_DEPTH_BUILT_NODEBUG   clutchlog::level::progress

Default level over which calls to the logger are optimized out when NDEBUG is defined.

Definition at line 68 of file clutchlog.h.

◆ CLUTCHLOG_DEFAULT_FORMAT

#define CLUTCHLOG_DEFAULT_FORMAT   "{level_letter} {msg}\t\t\t\t\t{func} @ {file}:{line}\n"

Compile-time default format of the messages (debug mode: with absolute location).

Definition at line 209 of file clutchlog.h.

◆ CLUTCHDUMP_DEFAULT_FORMAT

#define CLUTCHDUMP_DEFAULT_FORMAT   "# {level} in {func} @ {file}:{line}"

Compile-time default format of the comment line in file dump.

Definition at line 232 of file clutchlog.h.

◆ CLUTCHDUMP_DEFAULT_SEP

#define CLUTCHDUMP_DEFAULT_SEP   "\n"

Compile-time default item separator for dump.

Definition at line 250 of file clutchlog.h.

◆ CLUTCHLOG_DEFAULT_DEPTH_MARK

#define CLUTCHLOG_DEFAULT_DEPTH_MARK   ">"

Compile-time default mark for stack depth.

Definition at line 257 of file clutchlog.h.

◆ CLUTCHLOG_STRIP_CALLS

#define CLUTCHLOG_STRIP_CALLS   5

Compile-time number of call stack levels to remove from depth display by default.

Definition at line 264 of file clutchlog.h.

◆ CLUTCHLOG_DEFAULT_HFILL_MARK

#define CLUTCHLOG_DEFAULT_HFILL_MARK   '.'

Character used as a filling for right-align the right part of messages with "{hfill}".

Definition at line 271 of file clutchlog.h.