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
I was unable to get a new lumber.encoders.Text to honor a 'colorize' setting of false. I believe the code that sets the colorize option is incorrect:
self.colorize = options.colorize || true;
I've instead patched the Text constructor to do this:
function valid_option(value, def) { return (typeof value === "undefined") ? def : value; } self.colorize = valid_option(options.colorize, true); self.timestamp = valid_option(options.timestamp, false); self.headFormat = valid_option(options.headFormat, '%l: '); self.dateFormat = valid_option(options.dateFormat, 'isoDateTime');
The text was updated successfully, but these errors were encountered:
Good catch, I will fix this in the next couple days after I finish up some other work.
Sorry, something went wrong.
627aed1
englercj
No branches or pull requests
I was unable to get a new lumber.encoders.Text to honor a 'colorize' setting of false. I believe the code that sets the colorize option is incorrect:
I've instead patched the Text constructor to do this:
The text was updated successfully, but these errors were encountered: