BinaryNinja::Logger Class Reference

Public Member Functions

 Logger (BNLogger *logger)
 
 Logger (const std::string &loggerName, size_t sessionId=0)
 
void Log (BNLogLevel level, const char *fmt,...)
 
void LogTrace (const char *fmt,...)
 
void LogDebug (const char *fmt,...)
 
void LogInfo (const char *fmt,...)
 
void LogWarn (const char *fmt,...)
 
void LogError (const char *fmt,...)
 
void LogAlert (const char *fmt,...)
 
std::string GetName ()
 
size_t GetSessionId ()
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNLogger, BNNewLoggerReference, BNFreeLogger >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNLogger * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNLogger, BNNewLoggerReference, BNFreeLogger >
static BNLogger * GetObject (CoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNLogger, BNNewLoggerReference, BNFreeLogger >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNLogger * m_object
 

Constructor & Destructor Documentation

◆ Logger() [1/2]

Logger::Logger ( BNLogger *  logger)

◆ Logger() [2/2]

BinaryNinja::Logger::Logger ( const std::string &  loggerName,
size_t  sessionId = 0 
)

Member Function Documentation

◆ GetName()

string Logger::GetName ( )

◆ GetSessionId()

size_t Logger::GetSessionId ( )

◆ Log()

void Logger::Log ( BNLogLevel  level,
const char *  fmt,
  ... 
)

◆ LogAlert()

void Logger::LogAlert ( const char *  fmt,
  ... 
)

◆ LogDebug()

void Logger::LogDebug ( const char *  fmt,
  ... 
)

◆ LogError()

void Logger::LogError ( const char *  fmt,
  ... 
)

◆ LogInfo()

void Logger::LogInfo ( const char *  fmt,
  ... 
)

◆ LogTrace()

void Logger::LogTrace ( const char *  fmt,
  ... 
)

◆ LogWarn()

void Logger::LogWarn ( const char *  fmt,
  ... 
)

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