1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 14:07:46 +00:00
sapphire/src/common/Logging/Logger.h

38 lines
552 B
C++

#ifndef _LOGGER_H
#define _LOGGER_H
#include <string>
namespace Sapphire
{
class Logger
{
private:
std::string m_logFile;
Logger();
~Logger();
public:
static void init( const std::string& logPath );
static void error( const std::string& text );
static void warn( const std::string& text );
static void info( const std::string& text );
static void debug( const std::string& text );
static void fatal( const std::string& text );
static void trace( const std::string& text );
};
}
#endif