Using LogManager.GetLogger with Unity

后端 未结 3 1708
时光说笑
时光说笑 2021-02-06 13:22

Given this class:

class Foo
{
    readonly ILog log;

    public Foo(ILog log)
    {
        this.log = log;
    } 

    ...
}

I\'d like to con

3条回答
  •  情书的邮戳
    2021-02-06 13:46

    This seems like a very clean approach: https://github.com/roblevine/UnityLoggingExtensions

提交回复
热议问题