Added support for logging]
Added support for logging