Skip to content

Commit 1c9efb2

Browse files
author
Sean Kennedy
committed
BREAKING API CHANGE: no class exports
1 parent c27af69 commit 1c9efb2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ dualRecorder.log('Writing to "%s" and stdout.', dualRecorder.logfile);
2323
var fileOnly = stee.createLogFileTee('t2.log', null);
2424
fileOnly.write('one line, only in ' + fileOnly.logfile);
2525
```
26+
27+
**Note:** as of version 0.2.0, the API has been changed to no longer export classes that you create with `new`, but functions that create the objects for you.
28+
Replace `new stee.LogTee([stream1, stream2, stream3])` with `stee.createLogTee([stream1, stream2, stream3])`.
29+
Replace `new stee.LogFileTee('my.log')` with `stee.createLogFileTee('my.log')`.

0 commit comments

Comments
 (0)