25#ifndef _WRAPS_C_TFCLOGGER_H_
26#define _WRAPS_C_TFCLOGGER_H_
33 unsigned int LOG_CURRENT;
34 unsigned int LOG_FATAL;
35 unsigned int LOG_CRITICAL;
36 unsigned int LOG_ERROR;
37 unsigned int LOG_WARNING;
38 unsigned int LOG_NOTICE;
39 unsigned int LOG_INFORMATION;
40 unsigned int LOG_DEBUG;
41 unsigned int LOG_TRACE;
45 unsigned int LOG_OUTPUTSTREAM_CHANGED;
46 unsigned int LOG_LEVEL_CHANGED;
47 unsigned int LOG_CALLBACK_SET;
Definition tfCLogger.h:44
Definition tfCLogger.h:32
HRESULT tfLogger_log(unsigned int level, const char *msg)
logs a message to the log.
HRESULT tfLogger_enableFileLogging(const char *fileName, unsigned int level)
turns on file logging to the given file as the given level.
HRESULT tfLogger_getFileName(char **str, unsigned int *numChars)
Get the File Name objectget the name of the currently used log file.
HRESULT tfLogger_disableFileLogging()
turns off file logging, but has no effect on console logging.
HRESULT tfLogger_getLevel(unsigned int *level)
Get the Level objectget the current logging level.
HRESULT tfLogLevel_init(struct tfLogLevelHandle *handle)
Initialize an instance.
HRESULT tfLogger_setLevel(unsigned int level)
Set the Level objectsets the logging level to one a value from Logger::Level.
HRESULT tfLogEventHandle_init(struct tfLogEventHandle *handle)
Initialize an instance.