Enabled passing of custom logger instances (compatible with ScriptLogger) for chained invocation upon logging