It's just laziness on the part of developers: it's trivial (on both platforms) to have your logging disabled or filtered on production builds.
[edit: unintentional use of slang]
"Belt and suspenders" means something totally different in British and Commonwealth English - the mind boggles.