-
Notifications
You must be signed in to change notification settings - Fork 13
Logging
This category contains functions and types for controlling logging output. More...
| Type | Name |
|---|---|
| struct |
fplLogSettings Stores log settings. More... |
| struct |
fplLogWriter Stores log writer settings. More... |
| struct |
fplLogWriterConsole Log writer flags enumeration operators. More... |
| struct |
fplLogWriterCustom Stores custom logging properties. More... |
| Type | Name |
|---|---|
| typedef void |
fpl_log_func_callback(const char *funcName, const int lineNumber, const fplLogLevel level, const char *message) A function definition for a callback for printing a log message. |
| Type | Name |
|---|---|
| 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... |
| Type | Name |
|---|---|
| fpl_common_api const fplLogSettings * |
fplGetLogSettings (void) Gets the current log settings. |
| fpl_common_api fplLogLevel |
fplGetMaxLogLevel (void) 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 function definition for a callback for printing a log message.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | funcName | The function name. |
| [in] | lineNumber | The line number. |
| [in] | level | The log level fplLogLevel. |
| [in] | message | The log message string. |
See also: Example: Log all errors to a custom logging function
Definition at line 7010 of file final_platform_layer.h.
enum fplLogLevelAn enumeration of log levels.
| Name | Description |
|---|---|
| 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 6976 of file final_platform_layer.h.
enum fplLogWriterFlagsAn enumeration of log writer flags.
Definition at line 7016 of file final_platform_layer.h.
fpl_common_api const fplLogSettings * fplGetLogSettings ( void )Gets the current log settings.
Returns: Returns a reference to the current log settings structure
Note: This function can be called regardless of the initialization state!
See also: Logging
fpl_common_api fplLogLevel fplGetMaxLogLevel ( void )Gets the current maximum allowed log level.
Returns: Returns the current maximum log level
Note: This function can be called regardless of the initialization state!
See also: Logging
fpl_common_api void fplSetLogSettings ( const fplLogSettings * params)Overwrites the current log settings.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | params | Reference to the source log settings structure fplLogSettings. |
Note: This function can be called regardless of the initialization state!
See also: Logging
fpl_common_api void fplSetMaxLogLevel ( const fplLogLevel maxLevel)Changes the current maximum log level to the given value.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | maxLevel | The new maximum log level fplLogLevel. |
Note: This function can be called regardless of the initialization state!
See also: Logging
- Assertion & Debug
- Atomic operations
- Audio functions
- Clipboard functions
- Console functions
- Constants
- Display/Monitor functions
- Dynamic library loading
- Error Handling
- Files/IO functions
- Function macros
- Hardware Infos
- Input types and functions
- Localization functions
- Logging
- Memory Macros
- Memory functions
- Operating system Infos
- Path functions
- Platform functions
- Session Infos
- Settings & Configurations
- Storage class identifiers
- String functions
- Threading and synchronizations routines
- Timing functions
- Video functions
- Window events
- Window functions
- fplARMCPUCapabilities
- fplAudioChannelMap
- fplAudioDeviceID
- fplAudioDeviceInfo
- fplAudioFormat
- fplAudioSettings
- fplColor32
- fplConditionVariable
- fplConsoleSettings
- fplCPUCapabilities
- fplCPUIDLeaf
- fplDateTime
- fplDateTimeCreationResult
- fplDateTimeResult
- fplDisplayInfo
- fplDisplayMode
- fplDynamicLibraryHandle
- fplEndianess
- fplEvent
- fplFileEntry
- fplFileHandle
- fplFilePermissions
- fplFileTimeStamps
- fplGamepadButton
- fplGamepadData
- fplGamepadEvent
- fplGamepadInfo
- fplGamepadInputBinding
- fplGamepadMapping
- fplGamepadSettings
- fplGamepadState
- fplGamepadStates
- fplGraphicsApiSettings
- fplImageSource
- fplInputBackendMask
- fplInputBackendSupport
- fplInputDevice
- fplInputDeviceGuid
- fplInputSettings
- fplInternalConditionVariable
- fplInternalDynamicLibraryHandle
- fplInternalFileEntryHandle
- fplInternalFileHandle
- fplInternalFileRootInfo
- fplInternalMutexHandle
- fplInternalSemaphoreHandle
- fplInternalSignalHandle
- fplInternalThreadHandle
- fplKeyboardEvent
- fplKeyboardState
- fplLogSettings
- fplLogWriter
- fplLogWriterConsole
- fplLogWriterCustom
- fplMemoryAllocationSettings
- fplMemoryBlock
- fplMemoryInfos
- fplMemorySettings
- fplMouseEvent
- fplMouseState
- fplMutexHandle
- fplOpenGLSettings
- fplOSVersionInfos
- fplSemaphoreHandle
- fplSettings
- fplSignalHandle
- fplSpecificAudioSettings
- fplThreadHandle
- fplThreadParameters
- fplTimestamp
- fplVersionInfo
- fplVideoBackBuffer
- fplVideoRect
- fplVideoRequirements
- fplVideoRequirementsVulkan
- fplVideoSettings
- fplVideoSurface
- fplVideoSurfaceOpenGL
- fplVideoSurfaceVulkan
- fplVideoWindow
- fplVulkanSettings
- fplWindowCallbacks
- fplWindowDropFiles
- fplWindowEvent
- fplWindowPosition
- fplWindowSettings
- fplWindowSize
- fplX86CPUCapabilities