2 ms·
You may be using a logging framework to satisfy some audit requirement, e.g. to capture user login timestamps, or important transaction details. That should be
by ams6110 13y ago
You may be using a logging framework to satisfy some audit requirement, e.g. to capture user login timestamps, or important transaction details. That should be tested, since it's a feature of your software.
But even if you are just logging for behavior tracking/debug purposes, you should at least verify that the logging framework is actually working, otherwise it might not be there when you need it. If you're going to go through the trouble to code something that's going to stay in the production release, you should pretty much always at least do some basic smoke tests on the feature.