예제 #1
0
        /// <summary>
        /// Constructor used by the logger factory to ensure the logger registers itself
        /// </summary>
        /// <param name="factory_"></param>
        /// <param name="name_">A unique name for this logger</param>
        /// <param name="directory_">The output directory to write the logs to</param>
		internal FileLogger(LoggerFactory factory_, string name_, string directory_) : base(factory_, name_)
		{
		    _directory = ValidateDirectory(directory_);
		    RetentionPeriod = DefaultRetentionPeriod;
		}
예제 #2
0
 internal TraceLogger(LoggerFactory factory_, string name_) : base(factory_, name_)
 {
 }