Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 205 Bytes

log-to-console-under-runserver.md

File metadata and controls

10 lines (7 loc) · 205 Bytes

Log to Console Under Runserver

There are better ways to do this with the logging module, but the quick and dirty way is this:

import sys

print("Some important message.", file=sys.stderr)