SA_Logger
Sapphire's Suite's C++ Logger.
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
SA::Exception Class Reference

Default (base) Exception type. More...

#include <Exception.hpp>

Inheritance diagram for SA::Exception:
SA::Log SA::Exception_Equals SA::Exception_IsValid SA::Exception_NotEquals SA::Exception_Nullptr SA::Exception_OutOfRange SA::Exception_ReachBadAPI SA::Exception_Equals0 SA::Exception_Equals1 SA::Exception_NotEquals0 SA::Exception_NotEquals1 SA::Exception_OutOfArrayRange SA::Exception_QueryBadAPIObject

Classes

struct  BaseInfo
 Base exception create info. More...
 

Public Member Functions

 Exception (BaseInfo _info, bool _pred, std::wstring _msg=L"") noexcept
 
- Public Member Functions inherited from SA::Log
 Log ()=default
 Default constructor.
 
 Log (std::wstring _file, uint32_t _line, std::string _function, std::wstring _msg=L"Hello, World!", LogLevel _level=LogLevel::Normal, std::wstring _chanName=L"Default", std::wstring _details=L"", uint32_t _frameNum=0u, std::string _backtrace="") noexcept
 Value Move Constructor.
 

Additional Inherited Members

- Public Attributes inherited from SA::Log
std::wstring file
 File name.
 
uint32_t line = 0u
 Line number.
 
std::string function
 Function name.
 
std::wstring msg = L"Hello, World!"
 User string message.
 
LogLevel level = LogLevel::Normal
 Output level.
 
std::wstring chanName = L"Default"
 Output channel name.
 
std::wstring details
 Additional details string.
 
uint32_t frameNum = 0u
 Frame number.
 
std::string backtrace
 backtracing of logging call.
 
DateTime date
 Date time.
 

Detailed Description

Default (base) Exception type.

Constructor & Destructor Documentation

◆ Exception()

SA::Exception::Exception ( BaseInfo _info,
bool _pred,
std::wstring _msg = L"" )
noexcept

Value Constructor.

Parameters
[in]_infoBase create info.
[in]_predPredicate used for assertion.
[in]_msgMessage to display on assertion.

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