Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Updated the hyperlink
Source Link
Serge Stroobandt
  • 32.1k
  • 9
  • 122
  • 111

What you really want is logging module from standard library. Create a logger and attach two handlers, one would be writing to a file and the other to stdout or stderr.

See Logging to multiple destinationsLogging to multiple destinations for details

What you really want is logging module from standard library. Create a logger and attach two handlers, one would be writing to a file and the other to stdout or stderr.

See Logging to multiple destinations for details

What you really want is logging module from standard library. Create a logger and attach two handlers, one would be writing to a file and the other to stdout or stderr.

See Logging to multiple destinations for details

Fixed typos
Source Link
Etienne
  • 12.6k
  • 5
  • 48
  • 53

What you really want is logging module from stanardstandard library. Create a logger and attach two handlers, one would be writing to a file and another in stodoutthe other to stdout or stderr.

See Logging to multiple destinations for details

What you really want is logging module from stanard library. Create a logger and attach two handlers, one would be writing to a file and another in stodout or stderr.

See Logging to multiple destinations for details

What you really want is logging module from standard library. Create a logger and attach two handlers, one would be writing to a file and the other to stdout or stderr.

See Logging to multiple destinations for details

Source Link
Alexander Lebedev
  • 6.1k
  • 1
  • 22
  • 31

What you really want is logging module from stanard library. Create a logger and attach two handlers, one would be writing to a file and another in stodout or stderr.

See Logging to multiple destinations for details