Esempio n. 1
0
        public static ILogger CreateLogger(LoggerTypes type = LoggerTypes.Null)
        {
            ILogger logger;

            if (type == LoggerTypes.List)
            {
                logger = new ListLogger();
            }
            else
            {
                logger = NullLoggerFactory.Instance.CreateLogger("Null Logger");
            }

            return(logger);
        }
Esempio n. 2
0
        public static ILogger <EventGeneratorFunction> CreateTypedLogger()
        {
            ILogger <EventGeneratorFunction> logger = new ListLogger();

            return(logger);
        }