Final Platform Layer 0.9.8-beta
|
This category contains functions and types for controlling logging output. More...
Data Structures | |
struct | fplLogSettings |
A structure containing log settings. More... | |
struct | fplLogWriter |
A structure containing log writer settings. More... | |
struct | fplLogWriterConsole |
A structure containing console logging properties. More... | |
struct | fplLogWriterCustom |
A structure containing properties custom logging properties. More... | |
Typedefs | |
typedef void() | fpl_log_func_callback(const char *funcName, const int lineNumber, const fplLogLevel level, const char *message) |
A callback for printing a log message. | |
typedef enum fplLogLevel | fplLogLevel |
An enumeration of log levels. | |
typedef struct fplLogSettings | fplLogSettings |
A structure containing log settings. | |
typedef struct fplLogWriter | fplLogWriter |
A structure containing log writer settings. | |
typedef struct fplLogWriterConsole | fplLogWriterConsole |
A structure containing console logging properties. | |
typedef struct fplLogWriterCustom | fplLogWriterCustom |
A structure containing properties custom logging properties. | |
typedef enum fplLogWriterFlags | fplLogWriterFlags |
An enumeration of log writer flags. | |
Enumerations | |
enum | fplLogLevel { fplLogLevel_All , fplLogLevel_Critical , fplLogLevel_Error , fplLogLevel_Warning , fplLogLevel_Info , fplLogLevel_Verbose , fplLogLevel_Debug , fplLogLevel_Trace , fplLogLevel_First , fplLogLevel_Last } |
An enumeration of log levels. More... | |
enum | fplLogWriterFlags { fplLogWriterFlags_None , fplLogWriterFlags_StandardConsole , fplLogWriterFlags_ErrorConsole , fplLogWriterFlags_DebugOut , fplLogWriterFlags_Custom } |
An enumeration of log writer flags. More... | |
Functions | |
FPL_ENUM_AS_FLAGS_OPERATORS (fplLogWriterFlags) | |
Log writer flags enumeration operators. | |
fpl_common_api const fplLogSettings * | fplGetLogSettings () |
Gets the current log settings. | |
fpl_common_api fplLogLevel | fplGetMaxLogLevel () |
Gets the current maximum allowed log level. | |
fpl_common_api void | fplSetLogSettings (const fplLogSettings *params) |
Overwrites the current log settings. | |
fpl_common_api void | fplSetMaxLogLevel (const fplLogLevel maxLevel) |
Changes the current maximum log level to the given value. | |
This category contains functions and types for controlling logging output.
typedef void() fpl_log_func_callback(const char *funcName, const int lineNumber, const fplLogLevel level, const char *message) |
A callback for printing a log message.
funcName | The function name |
lineNumber | The line number |
level | The log level fplLogLevel |
message | The log message string |
Definition at line 4205 of file final_platform_layer.h.
enum fplLogLevel |
An enumeration of log levels.
Enumerator | |
---|---|
fplLogLevel_All | All. |
fplLogLevel_Critical | Critical. |
fplLogLevel_Error | Error. |
fplLogLevel_Warning | Warning. |
fplLogLevel_Info | Info. |
fplLogLevel_Verbose | Verbose. |
fplLogLevel_Debug | Debug. |
fplLogLevel_Trace | Trace. |
fplLogLevel_First | First fplLogLevel. |
fplLogLevel_Last | Last fplLogLevel. |
Definition at line 4172 of file final_platform_layer.h.
enum fplLogWriterFlags |
An enumeration of log writer flags.
Definition at line 4208 of file final_platform_layer.h.
fpl_common_api const fplLogSettings * fplGetLogSettings | ( | ) |
Gets the current log settings.
fpl_common_api fplLogLevel fplGetMaxLogLevel | ( | ) |
Gets the current maximum allowed log level.
fpl_common_api void fplSetLogSettings | ( | const fplLogSettings * | params | ) |
Overwrites the current log settings.
params | The source fplLogSettings structure |
fpl_common_api void fplSetMaxLogLevel | ( | const fplLogLevel | maxLevel | ) |
Changes the current maximum log level to the given value.
maxLevel | The new maximum log level fplLogLevel |