ArcGIS Procedural Runtime
3.2.10650
|
#include <LogHandler.h>
Public Member Functions | |
virtual const wchar_t * | getPath () const =0 |
Public Member Functions inherited from prt::LogHandler | |
virtual void | getFormat (bool *dateTime, bool *level)=0 |
virtual const LogLevel * | getLevels (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 Member Functions | |
static FileLogHandler * | create (const LogLevel *levels, size_t count, const wchar_t *path) |
Additional Inherited Members | |
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 &) | |
Convenience file logger, will print to specified file.
|
static |
Creates a FileLogHandler instance, must be deleted by the client.
levels | An array with log levels on which this handler should listen. |
count | The number of log levelsin the levels array. |
path | The path accepts date/time format commands, see http://www.boost.org/doc/libs/1_59_0/doc/html/date_time/date_time_io.html. path must exist. |