-
Notifications
You must be signed in to change notification settings - Fork 0
Beginner Guide
YusufSuleman edited this page Aug 2, 2021
·
3 revisions
- Click "Code" on the main repo page.
- Open your project in your IDE.
- Make a folder called "include" or anything else.
a. Check if you have to add an include directory in your IDE.
b. If yes, then add the folder you created.
- In the C++ file you are adding it to, write
#include "cutelog.h"
on the top. - Write the function
cuteLogExample()
in theint main
function. - Run it!
- See the console for coloured text that says "ERROR".
- If you succeeded the last step it is done.
- Read the wiki of this repo.
- Write
error("Wiki");
To log an Error that says "Wiki". - Change it by editing "Wiki" to anything, you want.
- Version 1 does not support multiline Errors but Version 2 does with using
errorMultiline();
,infoMultiline();
orwarningMultiline();
, below normal log function. - Now write
info("Info");
orwarning("Warning");
to log an Info or Warning in the log. - You are now done. Start logging on your own.
Wait till Version 3 for this feature.