createStream
Signature
Section titled “Signature”createStream(): voidDescription
Section titled “Description”Initializes the file write streams defined in the logger configuration. If directories in the file paths do not exist, they will be created automatically.
Example
Section titled “Example”const log = new Zylog({ streams: { all: 'logs/app.log', },});
log.createStream();