Example #1
0
        public void LogNameDisplaysReadablyGenerics()
        {
            var subject = new List<int>();
            var logger = new Log4NetLogger(subject.GetType());
            logger.Name.Should().Be("List<Int32>");

        }
Example #2
0
        public void LogNameDisplayTakesTypeNameOnly()
        {
            var logger = new Log4NetLogger(typeof(int));
            logger.Name.Should().Be("Int32");

        }