예제 #1
0
        public void AddSink(string sinkType, string sinkInit)
        {
            ISink newSink = logSinkFactory.Create(sinkType);

            if (newSink != null)
            {
                if (newSink.Initialize(sinkInit))
                {
                    logSinks.Add(newSink);
                }
            }
        }