-
Notifications
You must be signed in to change notification settings - Fork 94
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
getTimestamp exception thrown when creating Application logger #279
Comments
Hi, are you able to setup a minimal repository example? |
Hi, no problem. I created a barebones project to illustrate the problem. You just need to run it to see the error. |
Like in this issue #275, I get the logger in
|
@Nightbr good catch! I can't understand - however - why passing the |
Seems the module initialized the |
I've improved the README, can you both take a look at it and see if the isssue persist? |
Seems good to me, perhaps a bit complex for new User. Maybe we could create some nestjs boilerplate example with the different configuration? In the code base in an example folder. |
Thanks for your feedback. Yes I could create a boilerplate code, but I don't know the conventions about it... can you send me some example (maybe other projects)? |
Yep sure, for example in For this module, I think we could have multiple examples such as:
See https://github.com/nestjs/terminus/tree/master/sample Maybe create a Pull Request and I'm ok to review & complete the PR if you want. |
Thanks, it's a great idea. Should I use the nest cli right? |
As you want! But the nestcli can help you generate quickly a base app 👌 |
Could you create a Pull Request where we can see the code & discuss about this, it will be better to not overflow this issue & be able to see your code & changes. Thanks! |
Creating an application level Logger (via the bootstrap) now appears to cause the following exception:
I created a vanilla application with the following main.ts file:
Then adding a simple log to the app.controller.ts file
This should cause the issue as described. If you need any more information just let me know.
Thanks
The text was updated successfully, but these errors were encountered: