Adding custom logger that can be silent