Any Lua registration library for integrating with log4j?

The task is to enter the same file from different languages ​​(Java, C ++ and Lua) to keep log entries in chronological order. I think of network or syslog applications, so I can easily write from different languages. Log4j is the most popular format and with log4cxx I can support Java and C ++. I found Log4Lua, but it seems to be dead.

What solution can you recommend?

EDIT:

I need this on Linux and Windows

+4
source share
1 answer

It is probably best to write a small C ++ DLL that provides the functions you need, load them into your lua script, and call C ++ functions that make lua logging calls this way.

+3
source

Source: https://habr.com/ru/post/1414863/


All Articles