コード例 #1
0
    /// <summary>
    /// Start the logging service
    /// </summary>
    /// <param name="LogFilePath">Path to the log file</param>
    public static void AddListener(string LogFilePath)
    {
        Directory.CreateDirectory(LogDirectory);

        LogFile = LogFilePath;

        logger = new FileLogger();
        logger.AddListener(LogFile);
    }