Sergey Podobry
Sergey Podobry
Can you recompile those libraries?
So you can just add `#define cerr cerr; PLOGI` and include plog?
@Ry-Kode Are they static libs (*.lib) or dynamic libs (*.dll)?
You can try the following approach: ```cpp union { struct { int readPipe; int writePipe; }; int pipeHandles[2]; } pipes; _pipe(pipes.pipeHandles, 0, O_TEXT); _dup2(pipes.writePipe, _fileno(stderr)); auto pipeFuture = std::async(launch::async, [&]()...
Posix is the same, just without the underscore.
For that you need to create several appenders: https://github.com/SergiusTheBest/plog/blob/d60df3a1efa99061f637c263fe4e467c273d8655/samples/MultiAppender/Main.cpp#L5-L25
Hi @harikutty5896 ! Could you post a code with plog initialization?
Hi! Could you post the lines where do you write messages to the log?
@HanshengGUO any updates?
How did you find it?