We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello!
In my code I am extending the console object with custom wrapper functions, such as console.debug(), console.fatal() etc.
console
console.debug()
console.fatal()
Internally they just call console.log() and sometimes some minor extra code.
console.log()
Now, I tried adding these method names to the options.include array, but since these function names have no levelPriority assigned, they are not returned by the getAllowedLogFunctions() and thus filtered out at https://github.com/starak/node-console-stamp/blob/master/main.js#L67.
options.include
levelPriority
getAllowedLogFunctions()
Is there a way to amend these filters so that functions that are in the options.include array are always included?
The text was updated successfully, but these errors were encountered:
02ebf88
No branches or pull requests
Hello!
In my code I am extending the
console
object with custom wrapper functions, such asconsole.debug()
,console.fatal()
etc.Internally they just call
console.log()
and sometimes some minor extra code.Now, I tried adding these method names to the
options.include
array, but since these function names have nolevelPriority
assigned, they are not returned by thegetAllowedLogFunctions()
and thus filtered out at https://github.com/starak/node-console-stamp/blob/master/main.js#L67.Is there a way to amend these filters so that functions that are in the
options.include
array are always included?The text was updated successfully, but these errors were encountered: