Implemented Logger.Swallow and Logger.SwallowAsync methods