in some cases i cheat to do logging. i open() or os.open() a file and os.dup2() its file descriptor to stdout (1). i am running Linux. i have no idea if this works in Windows (nor do i care). then all print() goes to that file, even in called functions and forked processes (which i do a lot of).
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.