loguru icon indicating copy to clipboard operation
loguru copied to clipboard

[Question] Can be used from inside dll/so libraries?

Open Danixu opened this issue 2 years ago • 0 comments

Hello,

I am creating a program which will use .so and .dll libraries to provide more features and formats. Those libraries can be built separately without have the original program source code so the program will not know anything about the library beyond the C API to talk.

My question is if there is any way to log inside those DLL libraries using the main program logger with this logger library. I see that there is no object to pass, so I suppose that is not able, but you know the library better than me.

Best regards,

Danixu avatar Jul 11 '22 17:07 Danixu