-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi. First of all - great plugin!
As this is supposed to be a complete implementation of the Console interface, I have one minor extension proposal.
I usually pass multiple parameters such as strings combined with nubmers and objects to my log statements.
E.g.: console.log("Http GET result #", i, "-->", myResult);.
Object-parameters are being parsed by JSON.stringify() before being appended to the log string.
The actual Console API for log() looks like this log(message?: any, ...optionalParams: any[]): void;.
If you're open to extending the plugins interface to support Rest Parameters and any-Types, I'd be happy to submit a PR.
Metadata
Metadata
Assignees
Labels
No labels