A simple C++ logger which can be used by applications to write logs to by simply importing the library and using the write log function.
my-cpp-project/
βββ src/
β βββ main.cpp
βββ customLogger.cpp # Main source file
βββ include/
β βββ customLogger.hpp # Header file (optional)
βββ CMakeLists.txt # Build automation
βββ README.md # Project documentation
Compile the project using the included CMakeLists.txt:
1) Go to Project folder
2) mkdir build && cd build
3) cmake ..
4) make
4) sudo make install
5) Your shared Library is ready for use.
6) Import the shared library in code using #include <CustomLogger.hpp>
7) Link the CMake File using find_package(Logger REQUIRED) target_link_libraries(myapp CustomLogger)
Your Name GitHub: @sidharth-sanal-01
This project is licensed under the Opensource License Feel free to use it.