static public void RemoveRuyiLogger(IRuyiLogger logger) { if (logger == null) { return; } if (ruyiLoggers.Contains(logger)) { ruyiLoggers.Remove(logger); } }
static public void AddRuyiLogger(IRuyiLogger logger) { if (logger == null) { return; } if (!ruyiLoggers.Contains(logger)) { ruyiLoggers.Add(logger); } }