Nexus Engine  v0.0.1
Loading...
Searching...
No Matches
Nexus::Logger Class Referenceexport

Public Member Functions

 Logger (const std::filesystem::path &path=std::filesystem::path("Log.log"), bool enableConsole=true)
 ~Logger ()
void Log (LogLevel level, std::string_view message)
void LogTrace (std::string_view message)
void LogDebug (std::string_view message)
void LogInfo (std::string_view message)
void LogWarn (std::string_view message)
void LogError (std::string_view message)
void LogFatal (std::string_view message)
void Flush ()

Constructor & Destructor Documentation

◆ Logger()

Nexus::Logger::Logger ( const std::filesystem::path & path = std::filesystem::path("Log.log"),
bool enableConsole = true )
explicit

◆ ~Logger()

Nexus::Logger::~Logger ( )

Member Function Documentation

◆ Flush()

void Nexus::Logger::Flush ( )

◆ Log()

void Nexus::Logger::Log ( LogLevel level,
std::string_view message )

◆ LogDebug()

void Nexus::Logger::LogDebug ( std::string_view message)

◆ LogError()

void Nexus::Logger::LogError ( std::string_view message)

◆ LogFatal()

void Nexus::Logger::LogFatal ( std::string_view message)

◆ LogInfo()

void Nexus::Logger::LogInfo ( std::string_view message)

◆ LogTrace()

void Nexus::Logger::LogTrace ( std::string_view message)

◆ LogWarn()

void Nexus::Logger::LogWarn ( std::string_view message)

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