Exemplo n.º 1
0
        public void CreateLogger_Successful()
        {
            var classLogger = LoggerManager.CreateLogger(this.GetType());

            Assert.IsNotNull(classLogger);
        }
Exemplo n.º 2
0
 /// <summary>
 ///  Initializes a new instance of the <see cref="RaycastSubscriber" /> class.
 /// </summary>
 void Start()
 {
     this.log = LoggerManager.CreateLogger(this.GetType());
 }
Exemplo n.º 3
0
 /// <summary>
 ///  Initialization
 /// </summary>
 void Start()
 {
     this._log = LoggerManager.CreateLogger(typeof(InventoryManager));
     Armory.LoadWeapons(this.WeaponPacks.SelectMany(x => x.Weapons).ToArray());
 }
Exemplo n.º 4
0
 /// <summary>
 ///  Initialization.
 /// </summary>
 void Start()
 {
     this._log = LoggerManager.CreateLogger(typeof(Weapon));
 }
Exemplo n.º 5
0
 void Awake()
 {
     this.log = LoggerManager.CreateLogger(typeof(WeaponHandler));
 }
Exemplo n.º 6
0
 /// <summary>
 ///  Initializes the entity by generating any objects that need to exist already.
 /// </summary>
 private void Initialize()
 {
     this.log = LoggerManager.CreateLogger(this.GetType()); // Pull the logger.
 }