HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_UniversalLogSystemSink Class Reference

#include <UT_UniversalLogSystemSink.h>

+ Inheritance diagram for UT_UniversalLogSystemSink:

Public Member Functions

 UT_UniversalLogSystemSink (const UT_UniversalLogSystemSink &)=delete
 
 UT_UniversalLogSystemSink ()
 
- Public Member Functions inherited from UT_UniversalLogConsoleSink
 UT_UniversalLogConsoleSink (const UT_UniversalLogConsoleSink &)=delete
 
 UT_UniversalLogConsoleSink ()
 
 UT_UniversalLogConsoleSink (const UT_StringArray &whitelist, const UT_StringArray &blacklist)
 
 ~UT_UniversalLogConsoleSink () override
 
void setEnableColor (bool enable)
 
bool enableColor () const
 
- Public Member Functions inherited from UT_UniversalLogFileLikeSink
 UT_UniversalLogFileLikeSink (const UT_UniversalLogFileLikeSink &)=delete
 
 UT_UniversalLogFileLikeSink ()
 
void setFormatEntryCallback (const LogEntryFormatCallback &callback)
 
void setMinSeverity (UT_ErrorSeverity severity)
 
int minSeverity () const
 
- Public Member Functions inherited from UT_UniversalLogSink
 UT_UniversalLogSink ()
 
virtual ~UT_UniversalLogSink ()
 
void connect (const UT_StringHolder &source_name)
 
void disconnect (const UT_StringHolder &source_name)
 
void disconnectAll ()
 
void getConnectedSourceNames (UT_StringArray &source_names)
 
void setFilterEntryCallback (const LogEntryFilterCallback &callback)
 
void log (const UT_UniversalLogEntry &entry)
 Record a message from a log source. More...
 

Protected Member Functions

void writeString (UT_ErrorSeverity severity, const UT_StringHolder &msg) const override
 
- Protected Member Functions inherited from UT_UniversalLogConsoleSink
void formatLogEntry (const UT_UniversalLogEntry &entry, UT_StringHolder &msg) const override
 
- Protected Member Functions inherited from UT_UniversalLogFileLikeSink
void doLog (const UT_UniversalLogEntry &entry) override
 

Additional Inherited Members

- Public Types inherited from UT_UniversalLogConsoleSink
enum  OutFlags {
  kNONE = 0x0, kFILE = 0x1, kLINE = 0x2, kFILELINE = kFILE | kLINE,
  kTHREAD = 0x4, kDATE = 0x8
}
 
- Public Types inherited from UT_UniversalLogFileLikeSink
using LogEntryFormatCallback = UT_Function< void(const UT_UniversalLogEntry &, UT_StringHolder &message)>
 
- Public Types inherited from UT_UniversalLogSink
using LogEntryFilterCallback = UT_Function< bool(const UT_UniversalLogEntry &)>
 
- Static Public Member Functions inherited from UT_UniversalLogFileLikeSink
static UT_StringHolder severityToString (UT_ErrorSeverity sev)
 

Detailed Description

Definition at line 17 of file UT_UniversalLogSystemSink.h.

Constructor & Destructor Documentation

UT_UniversalLogSystemSink::UT_UniversalLogSystemSink ( const UT_UniversalLogSystemSink )
delete
UT_UniversalLogSystemSink::UT_UniversalLogSystemSink ( )
inline

Definition at line 21 of file UT_UniversalLogSystemSink.h.

Member Function Documentation

void UT_UniversalLogSystemSink::writeString ( UT_ErrorSeverity  severity,
const UT_StringHolder msg 
) const
overrideprotectedvirtual

Reimplemented from UT_UniversalLogConsoleSink.


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