Skip to content
New issue

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

Out of date tutorials ? #318

Open
davide-talesco opened this issue Nov 26, 2017 · 1 comment
Open

Out of date tutorials ? #318

davide-talesco opened this issue Nov 26, 2017 · 1 comment

Comments

@davide-talesco
Copy link

Hi,

can you confirm content @ http://senecajs.org/docs/tutorials/logging-with-seneca.html is out of date?

I am going through the tutorial but most of the output I get does not match the tutorial data.
As an example if I run:

sales-tax.js --seneca.log.print

I get the following output:
ie-macp-davidt:sales-tax davide_talesco$ node sales-tax.js --seneca.log.print
123

while as per Docs I should get all the deug logs:
node sales-tax.js --seneca.log.print
[-isodate-] INFO init start
... lots of init stuff ...
[-isodate-] INFO init end
[-isodate-] INFO add {cmd=salestax}
[-isodate-] DEBUG act in 90xkee {cmd=salestax,net=100}
[-isodate-] DEBUG act out 90xkee {total=123}
123

Are there any more up to date docs I am missing?

@guoliang-gst
Copy link

Oh, this issue is reported in year of 2017, and now is 2021.
4 Years has been passed!

Also didn't find APIs document for the following method:
in: https://senecajs.org/api/#methods

  • seneca.wrap
  • seneca.export

-Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants