Sergey Podobry
Sergey Podobry
I mean how do you mix old and new versions? What is using the old version and what is using the new version and how those parts are connected to...
Hey @po0p ! Yes, it's possible. Unfortunately it will look a little bit ugly as it needs an additional call to `c_str()`: ```cpp PLOGI.printf("test format: %s", plog::hexdump(arr).str().c_str()); ``` The implementation...
@Hammit Thank you for bumping this.
I guess if you're on Windows you need to close a file handle in the `startupAppender`. Here is the sample code: ```cpp #include #include #include #include int main() { const...
Note `startupAppender.setFileName("");` part. The resulting log file is: ``` ====================================== Start time: OS: Command: Version: ====================================== 2024-05-13 19:34:12.022 INFO [45812] [main@38] Normal mesage ```
It's weird as plog has no syslog appender implemented. Could you post the message from syslog?
Hello! It's a good question. One of the solutions I think about is to introduce a macro, for example `PLOG_PREFIX`, and set it to the library name. It will be...
The hostname is basically a runtime constant. So you can store it as a static string member in a Syslog formatter.
@baerrus Could you provide an example of how it should be formatted?
Hi @jan-pfizer! I confirm that you can use plog in a commercial project without any fees or source code disclosure. There is a standard and widely adopted [MIT License](https://choosealicense.com/licenses/mit/). The...