ArcGIS Procedural Runtime  3.2.10650
List of all members | Static Public Member Functions
prt::ConsoleLogHandler Class Reference

#include <LogHandler.h>

Inheritance diagram for prt::ConsoleLogHandler:
[legend]

Static Public Member Functions

static ConsoleLogHandlercreate (const LogLevel *levels, size_t count)
 

Additional Inherited Members

- Public Member Functions inherited from prt::LogHandler
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
 
- Public Member Functions inherited from prt::Object
void destroy () const
 
virtual char * toXML (char *result, size_t *resultSize, Status *stat=0) const =0
 
char * toXMLDocument (char *result, size_t *resultSize, Status *stat=0) const
 
- Static Public Attributes inherited from prt::LogHandler
static const prt::LogLevel ALL [ALL_COUNT]
 
static const size_t ALL_COUNT = 6
 
- Protected Member Functions inherited from prt::Object
 Object (const Object &)
 

Detailed Description

Convenience console logger, will print to stdout.

See also
prtx::LogFormatter

Member Function Documentation

◆ create()

static ConsoleLogHandler* prt::ConsoleLogHandler::create ( const LogLevel levels,
size_t  count 
)
static

Creates a ConsoleLogHandler instance, must be deleted by the client.

Parameters
levelsAn array with log levels on which this handler should listen.
countThe number of log levelsin the levels array.
Returns
New instance of ConsoleLogHandler.

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