private static void RegisterLoggly() { var logglyTarger = new LogglyTarget(); var rule = new LoggingRule("*", LogLevel.Trace, logglyTarger); LogManager.Configuration.AddTarget("LogglyLogger", logglyTarger); LogManager.Configuration.LoggingRules.Add(rule); }