Constructor
new FileHandler(filename, limitopt)
Initialize a new FileHandler
.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
filename |
string | The name of the file to write log messages to. |
||
limit |
number |
<optional> |
0 | The maximum size of the file in bytes before it is rotated. |
Extends
- Handler