#include <stdarg.h>
#include "wizard/exception.h"
#include "wizard/timer.h"
Go to the source code of this file.
|
| enum | LogEventType {
UndefinedEvents
, NoEvents = 0x0000
, TraceEvent = 0x0001
, AnnotateEvent = 0x0002
,
BlobEvent = 0x0004
, CacheEvent = 0x0008
, CoderEvent = 0x0010
, ConfigureEvent = 0x0020
,
DeprecateEvent = 0x0040
, ExceptionEvent = 0x0080
, LocaleEvent = 0x0100
, ModuleEvent = 0x0200
,
ResourceEvent = 0x0400
, TransformEvent = 0x0800
, WarningEvent = 0x1000
, UserEvent = 0x2000
,
AllEvents = 0x7fffffff
} |
| |
|
| WizardExport char ** | GetLogList (const char *, size_t *, ExceptionInfo *) |
| |
| WizardExport const LogInfo * | GetLogInfo (const char *, ExceptionInfo *) |
| |
| WizardExport const LogInfo ** | GetLogInfoList (const char *, size_t *, ExceptionInfo *) |
| |
| WizardExport LogEventType | SetLogEventMask (const char *) |
| |
| WizardExport WizardBooleanType | IsEventLogging (void) |
| |
| WizardExport WizardBooleanType | ListLogInfo (FILE *, ExceptionInfo *) |
| |
| WizardExport WizardBooleanType | LogComponentGenesis (void) |
| |
| WizardExport WizardBooleanType | LogWizardEvent (const LogEventType, const char *, const char *, const size_t, const char *,...) wizard_attribute((__format__(__printf__ |
| |
| WizardExport WizardBooleanType | LogWizardEventList (const LogEventType, const char *, const char *, const size_t, const char *, va_list) wizard_attribute((__format__(__printf__ |
| |
| WizardExport WizardBooleanType WizardExport void | CloseWizardLog (void) |
| |
| WizardExport WizardBooleanType WizardExport void | LogComponentTerminus (void) |
| |
| WizardExport WizardBooleanType WizardExport void | SetLogFormat (const char *) |
| |
| WizardExport WizardBooleanType WizardExport void | SetLogPreamble (const char *) |
| |
◆ GetWizardModule
| #define GetWizardModule |
( |
| ) |
__FILE__,__func__,(unsigned long) __LINE__ |
Definition at line 30 of file log.h.
◆ WizardLogFilename
| #define WizardLogFilename "log.xml" |
Definition at line 33 of file log.h.
◆ LogInfo
Definition at line 57 of file log.h.
◆ LogEventType
| Enumerator |
|---|
| UndefinedEvents | |
| NoEvents | |
| TraceEvent | |
| AnnotateEvent | |
| BlobEvent | |
| CacheEvent | |
| CoderEvent | |
| ConfigureEvent | |
| DeprecateEvent | |
| ExceptionEvent | |
| LocaleEvent | |
| ModuleEvent | |
| ResourceEvent | |
| TransformEvent | |
| WarningEvent | |
| UserEvent | |
| AllEvents | |
Definition at line 35 of file log.h.
◆ CloseWizardLog()
◆ GetLogInfo()
◆ GetLogInfoList()
Definition at line 470 of file log.c.
References AcquireQuantumMemory(), GetLogInfo(), GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GetWizardModule, GlobExpression(), LockSemaphoreInfo(), log_cache, log_semaphore, LogInfoCompare(), LogWizardEvent(), _LogInfo::name, ResetLinkedListIterator(), _LogInfo::stealth, TraceEvent, UnlockSemaphoreInfo(), and WizardFalse.
Referenced by ListLogInfo().
◆ GetLogList()
Definition at line 563 of file log.c.
References AcquireQuantumMemory(), ConstantString(), GetLogInfo(), GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GetWizardModule, GlobExpression(), LockSemaphoreInfo(), log_cache, log_semaphore, LogCompare(), LogWizardEvent(), _LogInfo::name, ResetLinkedListIterator(), _LogInfo::stealth, TraceEvent, UnlockSemaphoreInfo(), and WizardFalse.
◆ IsEventLogging()
◆ ListLogInfo()
◆ LogComponentGenesis()
◆ LogComponentTerminus()
◆ LogWizardEvent()
◆ LogWizardEventList()
◆ SetLogEventMask()
Definition at line 1731 of file log.c.
References AcquireExceptionInfo(), DestroyExceptionInfo(), _LogInfo::event_mask, GetLogInfo(), GetValueFromLinkedList(), LockSemaphoreInfo(), log_cache, log_semaphore, ParseWizardOption(), UndefinedEvents, UnlockSemaphoreInfo(), WizardLogEventOptions, and WizardTrue.
Referenced by WizardsToolkitGenesis().
◆ SetLogFormat()
◆ SetLogPreamble()