osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom logging function


Hi,

I have a case in which I have to use custom function for logging.
For example, all messages should go to stderr and end with '\r\n'.

Can I somehow use standard python logging module but send all message to stderr with '\r\n' line endings?

Regards