Search found 1 match

by Stephan
Mon Sep 22, 2014 8:49 am
Forum: Inetlab.SMPP v1.1 & v1.2
Topic: How to use log4net as logger
Replies: 0
Views: 18454

How to use log4net as logger

In case anyone else will be needing this, here is the code I use for InetLab logging to use an existing log4net configuration. Use: // Setup inetlab to use log4net by using an adapter Inetlab.SMPP.Logging.LogManager.SetLoggerFactory(loggerName => new Log4NetToInetLabLoggingAdapter(log4net.LogManager...