NPE fix as apparently Logger.getLevel() can return null. Using a better approach instead. Also ensuring that the CW Logging framework is initialised
Amending JavaDoc to reflect the change