https://github.com/krishnamodepalli/klog
A simple logging library in cpp
https://github.com/krishnamodepalli/klog
cpp cpp17 logging
Last synced: over 1 year ago
JSON representation
A simple logging library in cpp
- Host: GitHub
- URL: https://github.com/krishnamodepalli/klog
- Owner: krishnamodepalli
- License: mit
- Created: 2023-08-07T15:05:20.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-13T11:50:01.000Z (over 2 years ago)
- Last Synced: 2025-01-25T07:07:27.547Z (over 1 year ago)
- Topics: cpp, cpp17, logging
- Language: C++
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Logging in cpp made simple
Logging in cpp is usually made so complicated by all the developers,
off-course it becomes more complex while going deeper, but I prefer to keep
code and libraries very simple and clean, for the sake of easy life of
understanding simple code.
I am interested in some projects, where I want to use the Loggers, but
unfortunately many loggers on the internet like spdlog & glog (by Google) are so
complicated and so annoying, So I wanted to make my own logger with the view of
glog as a Implementation reference. **Note: no code or methods are copied
from the glog library, just the method references or maybe structure looks
like that.** This is purely the sole implementation by [Krishna Modepalli](https://github.com/krishnamodepalli)
.
I am also planning to add all the required functionalities of a basic and the
complex loggers soon. For now, just a basic logger.
> Usage and docs will be loaded soon.
> **Declaimer** : *This Logger is now thread safe.*
## TODO:
- [X] Add synchronization / thread_safety
- [ ] Add colors and time for the logger
- [ ] Add file logging, also rotated logging