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

Logging from the client with an object and string as params doesn't merge the object with metadata #22

Open
chasers opened this issue Jun 26, 2021 · 2 comments

Comments

@chasers
Copy link
Contributor

chasers commented Jun 26, 2021

logger.info({ blue: "Black" }, "Getting date from API") produces:

Screen Shot 2021-06-26 at 3 56 09 PM

And doing this from the server-side works as expected.

Use a child logger as a workaround:

child = logger.child({ blue: "Black" })
child.info("Getting date from API")
@chasers
Copy link
Contributor Author

chasers commented Jun 29, 2021

Fixed with v0.3.10

@chasers chasers closed this as completed Jun 29, 2021
@chasers chasers reopened this Jul 1, 2021
@PabloSzx
Copy link

was this fixed with 0.3.10?

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