pymumu / tinylog

A lightweight C, C++ logging library developed for Linux, It is designed with high performance, asynchronized, thread-safe and process-safe; tinylog是一个专为UNIX设计的轻量级的C/C++日志模块,其提供了高性能,异步,线程安全,进程安全的日志功能。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shared library support

alibasel opened this issue · comments

Hello,

I have used tlog, by converting it to a so shared library, with a few programs and didn't see any problems.
Is there actually any inconveniences for that?

gcc -O3 -Wall -fpic -c tlog.c -o tlog.o
gcc -shared -o libtlog.so tlog.o -pthread

Thank you.

There is no problem doing this.