ArcGIS Procedural Runtime  3.2.10650
List of all members | Public Member Functions | Static Public Attributes
prt::LogHandler Class Referenceabstract

#include <LogHandler.h>

Inheritance diagram for prt::LogHandler:
[legend]

Public Member Functions

virtual void getFormat (bool *dateTime, bool *level)=0
 
virtual const LogLevelgetLevels (size_t *count)=0
 
virtual void handleLogEvent (const wchar_t *msg, LogLevel level)=0
 

Static Public Attributes

static const prt::LogLevel ALL [ALL_COUNT]
 
static const size_t ALL_COUNT = 6
 

Detailed Description

Interface for log event handling. Implement this if you want to handle log events yourself.

See also
prtx::LogFormatter

Member Function Documentation

◆ getFormat()

virtual void prt::LogHandler::getFormat ( bool *  dateTime,
bool *  level 
)
pure virtual

Implement this function to specify the format of the log message.

Parameters
[out]dateTimePointer to return whether the date and time should be added to the message.
[out]levelPointer to return whether the level should be added to the message.

◆ getLevels()

virtual const LogLevel* prt::LogHandler::getLevels ( size_t *  count)
pure virtual

Implement this function to specify the handled log levels

Parameters
[out]countPointer to return number of returned log levels
Returns
Pointer to array with handled levels.

◆ handleLogEvent()

virtual void prt::LogHandler::handleLogEvent ( const wchar_t *  msg,
LogLevel  level 
)
pure virtual

This function will be called for each log event which happens on the specified levels


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