Skip to content

Instantly share code, notes, and snippets.

@tpluscode
Created October 19, 2016 12:03
Show Gist options
  • Save tpluscode/83d2065989190fa286ac8f452730aa17 to your computer and use it in GitHub Desktop.
Save tpluscode/83d2065989190fa286ac8f452730aa17 to your computer and use it in GitHub Desktop.
using System;
using Anotar.Custom;
namespace IsXEnabledRepro
{
internal class Program
{
private static void Main()
{
LogTo.Debug("I shouldn't fail");
}
}
public class LoggerFactory
{
public static Logger GetLogger<T>()
{
return new Logger();
}
}
public class Logger
{
public void Debug(string message)
{
Console.WriteLine(message);
}
//public bool IsDebugEnabled { get; private set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment