libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
GblLoggerClass Struct Reference

#include <gimbal_logger.h>

Inheritance diagram for GblLoggerClass:
GblObjectClass GblBoxClass GblITableVariantClass GblIEventHandlerClass GblIEventFilterClass GblClass GblIVariantClass GblInterface GblInterface GblInterface GblInterface GblClass GblClass GblClass GblClass

Data Fields

GblObjectClass base
 
GBL_RESULT(* pFnWrite )(GblLogger *pSelf, const char *pFile, const char *pFunction, size_t line, GblThd *pThread, time_t timeStamp, const char *pDomain, GBL_LOG_FLAGS flags, const char *pFmt, va_list varArgs)
 
GBL_RESULT(* pFnPush )(GblLogger *pSelf, GblThd *pThread)
 
GBL_RESULT(* pFnPop )(GblLogger *pSelf, GblThd *pThread, size_t count)
 
- Data Fields inherited from GblObjectClass
GblBoxClass base
 
GblITableVariantClass GblITableVariantImpl
 
GblIEventHandlerClass GblIEventHandlerImpl
 
 GblIEventFilter
 
GBL_RESULT(* pFnConstructor )(GblObject *pSelf)
 
GBL_RESULT(* pFnConstructed )(GblObject *pSelf)
 
GBL_RESULT(* pFnProperty )(const GblObject *pSelf, const GblProperty *pProp, GblVariant *pValue)
 
GBL_RESULT(* pFnSetProperty )(GblObject *pSelf, const GblProperty *pProp, GblVariant *pValue)
 
- Data Fields inherited from GblBoxClass
GblClass base
 
GblIVariantClass GblIVariantImpl
 
struct { 
 
   GblArrayMap *   pFields 
 
private_ 
 
GBL_RESULT(* pFnDestructor )(GblBox *pSelf)
 
- Data Fields inherited from GblClass
struct { 
 
   uintptr_t   metaClassInfo 
 
private_ 
 
- Data Fields inherited from GblIVariantClass
GblInterface base
 
const GblIVariantVTablepVTable
 
- Data Fields inherited from GblInterface
GblClass base
 
size_t outerClassOffset_
 
- Data Fields inherited from GblITableVariantClass
GblInterface base
 
GBL_RESULT(* pFnIndex )(const GblVariant *pSelf, const GblVariant *pKey, GblVariant *pValue)
 
GBL_RESULT(* pFnSetIndex )(const GblVariant *pSelf, const GblVariant *pKey, GblVariant *pValue)
 
GBL_RESULT(* pFnNext )(const GblVariant *pSelf, GblVariant *pKey, GblVariant *pValue)
 
GBL_RESULT(* pFnCount )(const GblVariant *pSelf, size_t *pSize)
 
- Data Fields inherited from GblIEventHandlerClass
GblInterface base
 
GBL_RESULT(* pFnEvent )(GblIEventHandler *pSelf, GblEvent *pEvent)
 
- Data Fields inherited from GblIEventFilterClass
GblInterface base
 
GBL_RESULT(* pFnEventFilter )(GblIEventFilter *pSelf, GblIEventHandler *pHandler, GblEvent *pEvent)
 

Additional Inherited Members

- Public Member Functions inherited from GblObjectClass
 GBL_MAP_NEXT (GblIEventFilter, GBL_MAP1)(GBL_CLASS_IMPL_INTERFACE
 

Detailed Description

GblClass vtable for GblLogger.

GblLoggerClass provides virtual methods for implementing a logger back-end. These include push/pop operations for the stack-based structured logging as well as a generic write method for doing the actual message logging.

See also
GblLogger

Definition at line 82 of file gimbal_logger.h.

Field Documentation

◆ base

GblObjectClass GblLoggerClass::base

Inherited base class structure.

Definition at line 82 of file gimbal_logger.h.

◆ pFnWrite

GBL_RESULT(* GblLoggerClass::pFnWrite) (GblLogger *pSelf, const char *pFile, const char *pFunction, size_t line, GblThd *pThread, time_t timeStamp, const char *pDomain, GBL_LOG_FLAGS flags, const char *pFmt, va_list varArgs)

Virtual method used to do the actual log writing for a message.

Definition at line 84 of file gimbal_logger.h.

◆ pFnPush

GBL_RESULT(* GblLoggerClass::pFnPush) (GblLogger *pSelf, GblThd *pThread)

Virtual method used to signify that another level has been pushed onto the log stack.

Definition at line 95 of file gimbal_logger.h.

◆ pFnPop

GBL_RESULT(* GblLoggerClass::pFnPop) (GblLogger *pSelf, GblThd *pThread, size_t count)

Virtual method to denote that that.

Parameters
levelshave been popped from the log stack

Definition at line 98 of file gimbal_logger.h.


The documentation for this struct was generated from the following file: