Fixed regression issue introduce with Simplify Carbon Platform Logging S...

Fixed regression issue introduce with Simplify Carbon Platform Logging Story improvement

https://github.com/wso2-dev/carbon-utils/pull/14