Skip to content

linuxdeveloping/LoggingFramework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

C Logging Framework

You can link this code snippet just to your project or create a shared libary and link your code against this

Creating a shared libary

with the following command you can create a shared libary out of the code snippets

bash$> gcc -c -fPIC logger.c -o logger.o
bash$> gcc -shared logger.o -o libClogger.so
bash$> rm logger.o

now copy logger.so into the directory where your linux distro stores the shared libaries
when you want to link the shared libary now you just have to type ..

bash$> gcc [yourcode.c ...] -lClogger

About

A C logging framework which can be just added to your code or be compiled to a shared lib

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages