Comment Comment by adrianmsmith > Log after, not beforeMy problem with that is what if the program crashes or produces an error. It's good to know what the program was attempting to do.Imagine the output Successfully connected to DB. Successfully read config file. Uncaught Exception: NullPointerException vs. Will connect to DB... Will read config file... Will connect to API server... Uncaught Exception: NullPointerException parent adrianmsmith 5 years ago
My problem with that is what if the program crashes or produces an error. It's good to know what the program was attempting to do.
Imagine the output
vs.