public static void Log(LogTarget target, string message) { logger = GetInstance(target); logger?.Write(message); }