public static void LogMsg(IConfiguration config, int code, string msg) { Config4Impl c4i = (Config4Impl)config; if (c4i.MessageLevel() > Const4.None) { new MessageOutput(msg, code, c4i.OutStream()); } }