Stormancer::VisualStudioLogger Class Reference

Inherits Stormancer::ILogger.

Public Member Functions

 VisualStudioLogger (const std::string &name="", Stormancer::LogLevel maxLogLevel=Stormancer::LogLevel::Trace)
 
 VisualStudioLogger (Stormancer::LogLevel maxLogLevel)
 
virtual void log (Stormancer::LogLevel level, const std::string &category, const std::string &message, const std::string &data="") override
 Logs a full message.
 
- Public Member Functions inherited from Stormancer::ILogger
virtual void log (const std::string &message)
 Logs a simple message.
 
virtual void log (const std::exception &ex)
 Logs an exception.
 
virtual void log (LogLevel level, const std::string &category, const std::string &message, const std::exception &ex)
 Logs a full message with exception as data.
 

Additional Inherited Members

- Static Public Member Functions inherited from Stormancer::ILogger
static std::string format (const std::string &name, LogLevel level, const std::string &category, const std::string &message, const std::string &data="")
 
static std::string formatException (const std::string &name, const std::exception &ex)
 
- Protected Member Functions inherited from Stormancer::ILogger
 ILogger (const std::string &name="")
 
- Protected Attributes inherited from Stormancer::ILogger
const std::string _name
 

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