EHS
Loading...
Searching...
No Matches
Log.h File Reference
#include <initializer_list>
#include "Types.h"
#include "Array.h"
#include "UTF.h"
#include "Str.h"

Go to the source code of this file.

Classes

class  ehs::Log
 

Namespaces

namespace  ehs
 

Macros

#define EHS_LOG_INT(type, code, msg)
 
#define EHS_LOG(type, code, msg)
 
#define EHS_LOG_SUCCESS()
 

Typedefs

typedef void(* ehs::LogRaisedCb) (const Log &)
 
typedef void(* ehs::LogOutputCb) (const Array< Log > &)
 

Enumerations

enum class  ehs::LogType : UInt_8 { ehs::SUCCESS , ehs::ERR , ehs::WARN , ehs::INFO }
 

Macro Definition Documentation

◆ EHS_LOG

#define EHS_LOG ( type,
code,
msg )
Value:
ehs::Log::Raise(ehs::Log(type, {ehs::GetAppName_8(), EHS_FILE, EHS_FUNC, ehs::Str_8::FromNum((ehs::UInt_32)EHS_LINE)}, code, msg))
Definition Log.h:29
static void Raise(Log log)
Definition Log.cpp:49
static Str< Char_8, UInt_64 > FromNum(const SInt_64 num)
Definition Str.h:1399
unsigned int UInt_32
Definition Types.h:49
EHS_LIB_IO Str_8 GetAppName_8()
Definition EHS.cpp:107

◆ EHS_LOG_INT

#define EHS_LOG_INT ( type,
code,
msg )
Value:
ehs::Log::Raise(ehs::Log(type, {ehs::GetAcronym_8(), EHS_FILE, EHS_FUNC, ehs::Str_8::FromNum((ehs::UInt_32)EHS_LINE)}, code, msg))
EHS_LIB_IO const Char_8 * GetAcronym_8()
Definition EHS.cpp:122

◆ EHS_LOG_SUCCESS

#define EHS_LOG_SUCCESS ( )
Value: