Constructor
Set options for an writer. Accepted options are: - filters: array of filters to add to this filter - formatter: formatter for this writer
Parameters: | array|Traversable – |
---|---|
Return type: | Logger |
Throws : | ExceptionInvalidArgumentException |
Add a filter specific to this writer.
Parameters: |
|
---|---|
Return type: | AbstractWriter |
Throws : | ExceptionInvalidArgumentException |
Get filter plugin manager
Return type: | FilterPluginManager |
---|
Set filter plugin manager
Parameters: | string|FilterPluginManager – |
---|---|
Return type: | self |
Throws : | ExceptionInvalidArgumentException |
Get filter instance
Parameters: |
|
---|---|
Return type: | FilterFilterInterface |
Get formatter plugin manager
Return type: | FormatterPluginManager |
---|
Set formatter plugin manager
Parameters: | string|FormatterPluginManager – |
---|---|
Return type: | self |
Throws : | ExceptionInvalidArgumentException |
Get formatter instance
Parameters: |
|
---|---|
Return type: | FormatterFormatterInterface |
Log a message to this writer.
Parameters: | array – log data event |
---|---|
Return type: | void |
Set a new formatter for this writer
Parameters: | string|FormatterFormatterInterface – |
---|---|
Return type: | self |
Throws : | ExceptionInvalidArgumentException |
Set convert write errors to exception flag
Parameters: | bool – |
---|
Perform shutdown activities such as closing open resources
Return type: | void |
---|