Easys
A minimalist, header-only C++ ECS library for efficient and fuss-free entity and component management.
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
Easys::log Namespace Reference

Classes

class  EntryExitLogger
 
class  FileWriter
 
struct  is_enabled
 
struct  source_location
 

Enumerations

enum class  LogLevel : int {
  EASYS_NONE = 0 , EASYS_ERROR = 1 , EASYS_INFO = 2 , EASYS_DEBUG = 3 ,
  EASYS_TRACE = 4
}
 

Functions

std::string get_timestamp ()
 
constexpr std::string_view level_to_string (LogLevel level)
 
void log_impl (LogLevel level, std::string_view message, Easys::log::source_location location)
 

Enumeration Type Documentation

◆ LogLevel

enum class Easys::log::LogLevel : int
strong
Enumerator
EASYS_NONE 
EASYS_ERROR 
EASYS_INFO 
EASYS_DEBUG 
EASYS_TRACE 

Function Documentation

◆ get_timestamp()

std::string Easys::log::get_timestamp ( )
inline

◆ level_to_string()

constexpr std::string_view Easys::log::level_to_string ( LogLevel  level)
constexpr

◆ log_impl()

void Easys::log::log_impl ( LogLevel  level,
std::string_view  message,
Easys::log::source_location  location 
)
inline