예제 #1
0
        /// <summary>
        /// Get a logger after the user has explicitly configured a log file/callback
        /// </summary>
        /// <param name="logFileName"></param>
        /// <param name="callback"></param>
        /// <returns>The host logger object</returns>
        public static HostLogger GetLoggerFromCmd(string logFileName, HostLogger.OutputCallback callback)
        {
            StreamWriter writer = HostLogger.GetStreamForName(logFileName, throwInUseError: true);

            return(new HostLogger(writer, callback));
        }
예제 #2
0
 /// <summary>
 /// Get a logger after the user has explicitly configured a log file/callback
 /// </summary>
 /// <param name="logFileName"></param>
 /// <param name="callback"></param>
 /// <returns>The host logger object</returns>
 public static HostLogger GetLoggerFromCmd(string logFileName, HostLogger.OutputCallback callback)
 {
     throw new NotImplementedException();
 }