NLog.Targets.FileTarget.Write C# (CSharp) 메소드

Write() 보호된 메소드

Writes the specified logging event to a file specified in the FileName parameter.
protected Write ( LogEventInfo logEvent ) : void
logEvent LogEventInfo The logging event.
리턴 void
        protected override void Write(LogEventInfo logEvent)
        {
            var fullFileName = this.GetFullFileName(logEvent);
            byte[] bytes = this.GetBytesToWrite(logEvent);
            ProcessLogEvent(logEvent, fullFileName, bytes);
        }

Same methods

FileTarget::Write ( NLog.Common.AsyncLogEventInfo logEvents ) : void