/// <inheritdoc/> public override void InstallBindings() { // only use default Logger if requested if (useUnityDefaultLogger) { Container.Bind <ILogger>().FromInstance(Debug.unityLogger).AsSingle(); } // creates and binds an ACIlog instance AciLog logger = new AciLog(); Container.Bind <AciLog>().FromInstance(logger).AsSingle(); Container.QueueForInject(logger); }
public void Construct(INetworkPublisher publisher, ILogger logger) { m_DefaultLogger = logger; m_NetPublisher = publisher; m_Instance = this; }