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
Dear All,
I am trying to do logging in Hapijs with help of bucker. https://github.com/nlf/bucker but it only shows time.
For example: logger.log('node updated'); 13:34:10 info: node updated
Is there any possibility that it shows DATE along with it.
The text was updated successfully, but these errors were encountered:
sorry for the incredibly delayed response, but yes you can override the timestamp format. here's an example:
var logger = Bucker.createLogger({ console: { timestamp: 'MM/DD/YY HH:mm:ss' } });
the timestamp option accepts any parameters that are valid in moment.js
timestamp
Sorry, something went wrong.
Thanks Nathan, Is there any way to add client's IP address in this logging.
to general log messages? not currently, no. that's a feature i'm working on for 2.0 though.
No branches or pull requests
Dear All,
I am trying to do logging in Hapijs with help of bucker.
https://github.com/nlf/bucker
but it only shows time.
For example:
logger.log('node updated');
13:34:10 info: node updated
Is there any possibility that it shows DATE along with it.
The text was updated successfully, but these errors were encountered: