I've written a Windows service in C# using the ServiceBase
helper. During its execution, some procedures in an external native DLL are called. Annoyingly, those procedures write to stdout and/or stderr in an uncontrolled manner as no sources are given for this DLL.
Is it possible to redirect those outputs from the C# service to a log file?