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

feat: Passing objects #18

Merged
merged 6 commits into from
Aug 4, 2018
Merged

feat: Passing objects #18

merged 6 commits into from
Aug 4, 2018

Conversation

lisaychuang
Copy link
Owner

Added new feature: users can now pass in non-strings (e.g. objects, arrays, window etc).

Non string objects will be logged out in the console using console.dir at the end, after all prefix and messages are logged with styling.

Accompanying tests in logging-objects-test.ts file.

w,
l,
d,
dir
Copy link
Contributor

@mike-north mike-north Aug 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're receiving dir as an argument here, but never make an assertion of how many times logger.dir() has been invoked. Just follow the same stuff you've set up for the other message counts below

@lisaychuang lisaychuang merged commit 2a999c2 into master Aug 4, 2018
@lisaychuang
Copy link
Owner Author

🎉 This PR is included in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants