We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4325ffe commit 39b01adCopy full SHA for 39b01ad
src/index.ts
@@ -167,6 +167,9 @@ export class Logestic<K extends keyof Attribute = keyof Attribute> {
167
}
168
169
private async log(msg: string): Promise<void> {
170
+ // ignore empty logs
171
+ if (!msg || msg === "") return
172
+
173
const msgNewLine = `${msg}\n`;
174
if (!this.dest.name || !this.dest.name.length) {
175
// This is either stdout or stderr
0 commit comments