StormByte C++ Library: Logger module 1.2.0
StormByte-Logger is the logging module of the StormByte C++ suite.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StormByte::Logger::Exception Class Reference

Root exception for Logger errors. More...

#include <StormByte/logger/exception.hxx>

Inheritance diagram for StormByte::Logger::Exception:
Inheritance graph
[legend]
Collaboration diagram for StormByte::Logger::Exception:
Collaboration graph
[legend]

Public Member Functions

 Exception (const std::string &message)
 Construct with an unformatted message.
 
 Exception (std::string &&message)
 Construct with a moved message.
 
template<typename... Args>
 Exception (std::format_string< Args... > fmt, Args &&... args)
 Construct with a formatted message.
 

Detailed Description

Root exception for Logger errors.

Constructor & Destructor Documentation

◆ Exception() [1/3]

StormByte::Logger::Exception::Exception ( const std::string &  message)
inlineexplicit

Construct with an unformatted message.

◆ Exception() [2/3]

StormByte::Logger::Exception::Exception ( std::string &&  message)
inlineexplicit

Construct with a moved message.

◆ Exception() [3/3]

template<typename... Args>
StormByte::Logger::Exception::Exception ( std::format_string< Args... >  fmt,
Args &&...  args 
)
inline

Construct with a formatted message.

Template Parameters
ArgsFormat argument types.
Parameters
fmtFormat string.
argsFormat arguments.

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