Declaration of the LogHelper_FormatLogLine() function, used in the Bridge Pattern. More...
#include <stdbool.h>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | __BRIDGE_LOGHELPER_H__ |
Functions | |
bool | LogHelper_FormatLogLine (const char *loglevel, const char *message, char *output, size_t maxOutputSize) |
Format a line for logging, including time stamp. | |
Declaration of the LogHelper_FormatLogLine() function, used in the Bridge Pattern.
Definition in file Bridge_LogHelper.h.
#define __BRIDGE_LOGHELPER_H__ |
Definition at line 8 of file Bridge_LogHelper.h.
bool LogHelper_FormatLogLine | ( | const char * | loglevel, |
const char * | message, | ||
char * | output, | ||
size_t | maxOutputSize | ||
) |
Format a line for logging, including time stamp.
loglevel | Level of logging (TRACE, INFO, ERROR) |
message | Message to log |
output | Buffer to fill with the formatted log line. |
maxOutputSize | Maximum size of output buffer in characters. |
Definition at line 29 of file Bridge_LogHelper.c.
References _GetTimeStamp().
Referenced by _WriteLine().