feat(colors): adds 256 and 16M colors mode support in fmt
This commit is contained in:
parent
180f0c15af
commit
7955ec197f
6 changed files with 795 additions and 75 deletions
14
tests/t-one-line-if.cpp
Normal file
14
tests/t-one-line-if.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include "../clutchlog/clutchlog.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
if(true)
|
||||
CLUTCHLOG(error, "WHAT?");
|
||||
else
|
||||
CLUTCHLOG(info, "OH!");
|
||||
|
||||
if(false)
|
||||
CLUTCHLOG(info, "AH!");
|
||||
else
|
||||
CLUTCHLOG(error, "NO!");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue