Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Custom Logger

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.


πŸ“ Project Structure


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


πŸ”§ Build Instructions

πŸ”¨ Using make

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)


✍️ Author

Your Name GitHub: @sidharth-sanal-01


πŸ“„ License

This project is licensed under the Opensource License Feel free to use it.

About

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. This logger is synchronized with help of semaphore and shared memory.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages