-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLogging.cpp
More file actions
32 lines (27 loc) · 787 Bytes
/
Copy pathLogging.cpp
File metadata and controls
32 lines (27 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* runcpp2
Dependencies:
- Name: ssLogger
Platforms: [DefaultPlatform]
Source:
Git:
URL: "https://github.com/Neko-Box-Coder/ssLogger.git"
LibraryType: Header
IncludePaths: ["Include"]
Defines:
- "_CRT_SECURE_NO_WARNINGS=1"
# Uncomment this to log things below warning
# - "ssLOG_LEVEL=5"
*/
#include "ssLogger/ssLogInit.hpp"
#include "ssLogger/ssLog.hpp"
int main(int, char**)
{
ssLOG_LINE("Let's log something with different log levels!");
ssLOG_FATAL("Hello World");
ssLOG_ERROR("Hello World");
ssLOG_WARNING("Hello World");
//You won't see the following logs since anything below warnings are evaluated to nothing
ssLOG_INFO("Hello World");
ssLOG_DEBUG("Hello World");
return 0;
}