Append

ConsoleAppender.Append method

将指定的日志条目附加到 appender。

public override void Append(LogEntry entry)
范围类型描述
entryLogEntry日志条目。

也可以看看