Beispiel #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EntLib5Logger"/> class.
        /// </summary>
        /// <param name="type">The type.</param>
        public EntLib5Logger(Type type)
        {
            var factory = new EntLib5Factory();

            logWriter = factory.CreateDefault();
            logWriter.SetContextItem("type", type.Name);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="EntLib5Logger"/> class.
 /// </summary>
 /// <param name="type">The type.</param>
 public EntLib5Logger(Type type)
 {
     var factory = new EntLib5Factory();
     logWriter = factory.CreateDefault();
     logWriter.SetContextItem("type", type.Name);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EntLib5Logger"/> class.
 /// </summary>
 public EntLib5Logger()
 {
     var factory = new EntLib5Factory();
     logWriter = factory.CreateDefault();
 }
Beispiel #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EntLib5Logger"/> class.
        /// </summary>
        public EntLib5Logger()
        {
            var factory = new EntLib5Factory();

            logWriter = factory.CreateDefault();
        }