Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

Pantheios Back-end Initialisation Flags
[Pantheios Back-end API]


Detailed Description

Flags for the Pantheios Stock Back-ends.


Defines

#define PANTHEIOS_BE_INIT_F_NO_PROCESS_ID   (0x00000001)
 Causes the back-end to omit the process identity from emitted log statements.
#define PANTHEIOS_BE_INIT_F_NO_THREAD_ID   (0x00001000)
 Causes the back-end to omit the thread identity from emitted log statements.
#define PANTHEIOS_BE_INIT_F_NO_DATETIME   (0x00000002)
 Causes the back-end to omit the date/time field from emitted log statements.
#define PANTHEIOS_BE_INIT_F_NO_SEVERITY   (0x00000004)
 Causes the back-end to omit the severity from emitted log statements.
#define PANTHEIOS_BE_INIT_F_USE_SYSTEM_TIME   (0x00000008)
 Causes the back-end to use system time, rather than local time, from emitted log statements.
#define PANTHEIOS_BE_INIT_F_DETAILS_AT_START   (0x00000010)
 Causes the details to be emitted at the start of the statement, rather than after the process id, time, and so on.
#define PANTHEIOS_BE_INIT_F_USE_UNIX_FORMAT   (0x00000020)
 Causes the back-end to use UNIX format for the date/time field, even on other operating systems.
#define PANTHEIOS_BE_INIT_F_HIDE_DATE   (0x00000040)
 Causes the back-end to omit the date in the date/time field (if shown).
#define PANTHEIOS_BE_INIT_F_HIDE_TIME   (0x00000080)
 Causes the back-end to omit the time in the date/time field (if shown).
#define PANTHEIOS_BE_INIT_F_HIGH_RESOLUTION   (0x00000100)
 Causes the back-end to favour high-resolution in the date/time field (if shown).
#define PANTHEIOS_BE_INIT_F_LOW_RESOLUTION   (0x00000200)
 Causes the back-end to favour low-resolution in the date/time field (if shown).
#define PANTHEIOS_BE_INIT_F_COMMON_MASK   (0x000fffff)
 Mask of stock back-end flags.
#define PANTHEIOS_BE_INIT_F_CUSTOM_MASK   (~static_cast<int>(PANTHEIOS_BE_INIT_F_COMMON_MASK))
 Mask of custom back-end flags.


Define Documentation

#define PANTHEIOS_BE_INIT_F_COMMON_MASK   (0x000fffff)

Mask of stock back-end flags.

#define PANTHEIOS_BE_INIT_F_CUSTOM_MASK   (~static_cast<int>(PANTHEIOS_BE_INIT_F_COMMON_MASK))

Mask of custom back-end flags.

#define PANTHEIOS_BE_INIT_F_DETAILS_AT_START   (0x00000010)

Causes the details to be emitted at the start of the statement, rather than after the process id, time, and so on.

#define PANTHEIOS_BE_INIT_F_HIDE_DATE   (0x00000040)

Causes the back-end to omit the date in the date/time field (if shown).

Examples:
cpp/format/example.cpp.format.highres/example.cpp.format.highres.cpp, and cpp/format/example.cpp.format.lowres/example.cpp.format.lowres.cpp.

#define PANTHEIOS_BE_INIT_F_HIDE_TIME   (0x00000080)

Causes the back-end to omit the time in the date/time field (if shown).

#define PANTHEIOS_BE_INIT_F_HIGH_RESOLUTION   (0x00000100)

Causes the back-end to favour high-resolution in the date/time field (if shown).

Examples:
cpp/format/example.cpp.format.highres/example.cpp.format.highres.cpp.

#define PANTHEIOS_BE_INIT_F_LOW_RESOLUTION   (0x00000200)

Causes the back-end to favour low-resolution in the date/time field (if shown).

Examples:
cpp/format/example.cpp.format.lowres/example.cpp.format.lowres.cpp.

#define PANTHEIOS_BE_INIT_F_NO_DATETIME   (0x00000002)

Causes the back-end to omit the date/time field from emitted log statements.

Examples:
cpp/backends/example.cpp.backends.callback/example.cpp.backends.callback.cpp.

#define PANTHEIOS_BE_INIT_F_NO_PROCESS_ID   (0x00000001)

Causes the back-end to omit the process identity from emitted log statements.

#define PANTHEIOS_BE_INIT_F_NO_SEVERITY   (0x00000004)

Causes the back-end to omit the severity from emitted log statements.

#define PANTHEIOS_BE_INIT_F_NO_THREAD_ID   (0x00001000)

Causes the back-end to omit the thread identity from emitted log statements.

#define PANTHEIOS_BE_INIT_F_USE_SYSTEM_TIME   (0x00000008)

Causes the back-end to use system time, rather than local time, from emitted log statements.

#define PANTHEIOS_BE_INIT_F_USE_UNIX_FORMAT   (0x00000020)

Causes the back-end to use UNIX format for the date/time field, even on other operating systems.

Examples:
cpp/format/example.cpp.format.highres/example.cpp.format.highres.cpp, and cpp/format/example.cpp.format.lowres/example.cpp.format.lowres.cpp.


pantheios Library documentation © Matthew Wilson & Synesis Software, 2006-2011 SourceForge.net Logo