https://github.com/yuzukitsuru/yall
Yall - Yet another logging library
https://github.com/yuzukitsuru/yall
cmake cpp cpp-library cpp17 logging logging-library
Last synced: over 1 year ago
JSON representation
Yall - Yet another logging library
- Host: GitHub
- URL: https://github.com/yuzukitsuru/yall
- Owner: YuzukiTsuru
- License: mit
- Created: 2022-05-04T12:17:05.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-11T12:31:53.000Z (almost 4 years ago)
- Last Synced: 2025-01-23T17:18:30.251Z (over 1 year ago)
- Topics: cmake, cpp, cpp-library, cpp17, logging, logging-library
- Language: C++
- Homepage:
- Size: 55.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yall
Yall - Yet another logging library
## Usage
```c++
#include "Yall.h"
class class_lift {
public:
class_lift(){
YALL_DEBUG_ << "Debug Message From Class";
}
};
void func(){
YALL_DEBUG_ << "Debug Message From Func";
}
int main() {
YALL_DEBUG_.EnableDebug();
YALL_DEBUG_ << "Debug Message 1";
class_lift classLift;
func();
YALL_DEBUG_ << "Debug Message 2";
YALL_DEBUG_.DisableDebug();
YALL_DEBUG_ << "Disable Message 1";
class_lift classLift1;
func();
YALL_INFO_ << "LOG Info";
YALL_WARN_ << "LOG Warning";
YALL_ERROR_ << "LOG Error";
YALL_CRITICAL_ << "LOG Cirtical";
}
```
## ScreenShots
