The method that will be used to close the IO stream. Defaults to :close but can be :close_read, :close_write or
nil. When nil, the IO stream will not be closed when
the appender‘s close method is called.
Close the appender and writes the layout footer to the logging destination
if the footer flag is set to true. Log events will no
longer be written to the logging destination after the appender is closed.