log4net SDK Reference |

# TextWriterAppender.PreAppendCheck Method

This method determines if there is a sense in attempting to append.

[Visual Basic]
Overrides Protected Function PreAppendCheck() As Boolean
[C#]
protected override bool PreAppendCheck();

#### Return Value

`false` if any of the preconditions fail.

#### Remarks

This method checked if an output target has been set and if a layout has been set.

#### See Also

TextWriterAppender Class | log4net.Appender Namespace