Skip to content

Commit

Permalink
Fixed README styling.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcastells committed Mar 7, 2017
1 parent de1276f commit 7522284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ npm install file-stream-rotator

You can listen to the *open*, *close*, *error* and *finish* events generated by the open stream. You can also listen for custom events:

*rotate*: that will pass two parameters to the callback: *oldFilename* and *newFilename*
*new*: that will pass two parameters to the callback: *oldFilename* and *newFilename*
* *rotate*: that will pass two parameters to the callback: (*oldFilename*, *newFilename*)
* *new*: that will pass one parameter to the callback: *newFilename*

You can also limit the size of each file by adding the size option using "k", "m" and "g" to specify the size of the file in kiloybytes, megabytes or gigabytes. When it rotates a file based on size, it will add a number to the end and increment it for every time the file rotates in the given period as shown below.

Expand Down

0 comments on commit 7522284

Please sign in to comment.