Skip to content

Commit 9c38f94

Browse files
author
Sean Kennedy
committed
convenience fn for teeing only to stdout
1 parent 48a90e6 commit 9c38f94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ doubleStd.log('Double the fun?');
1414
doubleStd.write(' ... ');
1515
doubleStd.log('Maybe not.');
1616

17+
stee.teeToStdoutOnly().log('That\'s better.');
18+
1719
var dualRecorder = new stee.LogFileTee('test.log');
1820
dualRecorder.log('Writing to "%s" and stdout.', dualRecorder.logfile);
1921
```

0 commit comments

Comments
 (0)