LogIt++
Loading...
Searching...
No Matches
example_logit_basic.cpp File Reference
#include <iostream>
#include <stdexcept>
#include <log-it/LogIt.hpp>

Go to the source code of this file.

Classes

class  CustomErrorCategory
 

Namespaces

namespace  logit
 The primary namespace for the LogIt++ library.
 

Macros

#define LOGIT_BASE_PATH   "E:\\_repoz\\log-it-cpp"
 

Enumerations

enum class  COLORS {
  NC = -1 , BLACK , RED , GREEN ,
  YELLOW , BLUE , MAGENTA , CYAN ,
  WHITE
}
 

Functions

std::ostream & operator<< (std::ostream &os, COLORS c)
 
template<>
std::string logit::enum_to_string (COLORS value)
 
const std::error_category & custom_error_category ()
 
int main ()
 

Macro Definition Documentation

◆ LOGIT_BASE_PATH

#define LOGIT_BASE_PATH   "E:\\_repoz\\log-it-cpp"

Definition at line 4 of file example_logit_basic.cpp.

Enumeration Type Documentation

◆ COLORS

enum class COLORS
strong
Enumerator
NC 
BLACK 
RED 
GREEN 
YELLOW 
BLUE 
MAGENTA 
CYAN 
WHITE 

Definition at line 11 of file example_logit_basic.cpp.

Function Documentation

◆ custom_error_category()

const std::error_category & custom_error_category ( )

Definition at line 64 of file example_logit_basic.cpp.

◆ main()

int main ( )

Definition at line 69 of file example_logit_basic.cpp.

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
COLORS c )

Definition at line 23 of file example_logit_basic.cpp.