Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 349 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 349 Bytes

alt-log

Usage:

#include "alt-log.h"

using namespace alt;

int main()
{
  Log::Push(new Log::ConsoleStream);

  Log::Info << "Hello" << Log::Blue << " world" << Log::Endl;
  Log::Warning("Hello", "again");

  return 0;
}
$ g++ -o main main.cpp -std=c++17 && ./main
[19:36:23] Hello world
[19:36:23][Warning] Hello again