NLog.Targets.FileTarget.WriteFooter C# (CSharp) Method

WriteFooter() private method

Writes the footer information to a file.
private WriteFooter ( string fileName ) : void
fileName string The file path to write to.
return void
        private void WriteFooter(string fileName)
        {
            byte[] footerBytes = this.GetFooterBytes();
            if (footerBytes != null)
            {
                if (File.Exists(fileName))
                {
                    this.WriteToFile(fileName, null, footerBytes, true);
                }
            }
        }