Skip to content

DHANUSH-web/c-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Logger - A Utility C program for logging events and program flow

A Logger header file program written in C as a procedural design to handle events and program flow in your application without worrying about the biggest headache of debugging an issue from multiple program files. CLogger allows you to manage any number of logger instances across your entire project for easy access to different module level loggers.

In a simple words, CLogger is not a shared or compiled library, it is a lightweight, powerful, and flexible logging header program for C programs or applications.

Features

  • 🚀 Fully customizable and adaptable API to meet specific requirements
  • ⚡ High-performance logging capabilities
  • 🎨 Shared logger instances across the entire project using Buffer Manager
  • 🎯 Multiple logger instances in the same runtime
  • 🔍 Multiple logging levels (DEBUG, INFO, WARNING, ERROR, CRITICAL, UNKNOWN)

Usage

Clone the repo directly from https://github.com/DHANUSH-web/c-logger.git into your project anywhere

For stable release

git clone https://github.com/DHANUSH-web/c-logger.git

For development release

git clone -b dev https://github.com/DHANUSH-web/c-logger.git

If you are using CMake as build-system in your project, don't forget to include the logger inside CMakeLists.txt

include_directories(logger)
add_executable(... ... logger/logger.h)

Note: You can also run a demo program inside logger main.c by running build script

In the terminal, run ./build.bat if you are in Windows or else run ./build on Linux or macOS

Quick Start

Open main.c file inside logger and try to explore the code

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for more details.

Developer

CLogger is purely written in C developed by DHANUSH H V

About

A Logger library written in C Programming to provide efficient Logger to keep an eye on your application runtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors