if custom logging function is registered, use it additionally not exclusively