oak - a modern logger 1.1.0
Loading...
Searching...
No Matches
oak.cpp File Reference
#include <oak/oak.hpp>

Go to the source code of this file.

Macros

#define RST   "\x1B[0m"
 
#define KRED   "\x1B[31m"
 
#define KGRN   "\x1B[32m"
 
#define KYEL   "\x1B[33m"
 
#define KBLU   "\x1B[34m"
 
#define KMAG   "\x1B[35m"
 
#define KCYN   "\x1B[36m"
 
#define KWHT   "\x1B[37m"
 
#define FRED(x)   KRED x RST
 
#define FGRN(x)   KGRN x RST
 
#define FYEL(x)   KYEL x RST
 
#define FBLU(x)   KBLU x RST
 
#define FMAG(x)   KMAG x RST
 
#define FCYN(x)   KCYN x RST
 
#define FWHT(x)   KWHT x RST
 
#define FRED_S(x)   std::string(KRED) + x + std::string(RST)
 
#define FGRN_S(x)   std::string(KGRN) + x + std::string(RST)
 
#define FYEL_S(x)   std::string(KYEL) + x + std::string(RST)
 
#define FBLU_S(x)   std::string(KBLU) + x + std::string(RST)
 
#define FMAG_S(x)   std::string(KMAG) + x + std::string(RST)
 
#define FCYN_S(x)   std::string(KCYN) + x + std::string(RST)
 
#define FWHT_S(x)   std::string(KWHT) + x + std::string(RST)
 

Macro Definition Documentation

◆ FBLU

#define FBLU (   x)    KBLU x RST

Definition at line 182 of file oak.cpp.

◆ FBLU_S

#define FBLU_S (   x)    std::string(KBLU) + x + std::string(RST)

Definition at line 190 of file oak.cpp.

◆ FCYN

#define FCYN (   x)    KCYN x RST

Definition at line 184 of file oak.cpp.

◆ FCYN_S

#define FCYN_S (   x)    std::string(KCYN) + x + std::string(RST)

Definition at line 192 of file oak.cpp.

◆ FGRN

#define FGRN (   x)    KGRN x RST

Definition at line 180 of file oak.cpp.

◆ FGRN_S

#define FGRN_S (   x)    std::string(KGRN) + x + std::string(RST)

Definition at line 188 of file oak.cpp.

◆ FMAG

#define FMAG (   x)    KMAG x RST

Definition at line 183 of file oak.cpp.

◆ FMAG_S

#define FMAG_S (   x)    std::string(KMAG) + x + std::string(RST)

Definition at line 191 of file oak.cpp.

◆ FRED

#define FRED (   x)    KRED x RST

Definition at line 179 of file oak.cpp.

◆ FRED_S

#define FRED_S (   x)    std::string(KRED) + x + std::string(RST)

Definition at line 187 of file oak.cpp.

◆ FWHT

#define FWHT (   x)    KWHT x RST

Definition at line 185 of file oak.cpp.

◆ FWHT_S

#define FWHT_S (   x)    std::string(KWHT) + x + std::string(RST)

Definition at line 193 of file oak.cpp.

◆ FYEL

#define FYEL (   x)    KYEL x RST

Definition at line 181 of file oak.cpp.

◆ FYEL_S

#define FYEL_S (   x)    std::string(KYEL) + x + std::string(RST)

Definition at line 189 of file oak.cpp.

◆ KBLU

#define KBLU   "\x1B[34m"

Definition at line 173 of file oak.cpp.

◆ KCYN

#define KCYN   "\x1B[36m"

Definition at line 175 of file oak.cpp.

◆ KGRN

#define KGRN   "\x1B[32m"

Definition at line 171 of file oak.cpp.

◆ KMAG

#define KMAG   "\x1B[35m"

Definition at line 174 of file oak.cpp.

◆ KRED

#define KRED   "\x1B[31m"

Definition at line 170 of file oak.cpp.

◆ KWHT

#define KWHT   "\x1B[37m"

Definition at line 176 of file oak.cpp.

◆ KYEL

#define KYEL   "\x1B[33m"

Definition at line 172 of file oak.cpp.

◆ RST

#define RST   "\x1B[0m"

Definition at line 169 of file oak.cpp.