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

Object pretty-print #6

Closed
3 of 4 tasks
towergame opened this issue Feb 8, 2022 · 1 comment
Closed
3 of 4 tasks

Object pretty-print #6

towergame opened this issue Feb 8, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@towergame
Copy link
Owner

towergame commented Feb 8, 2022

Set up pretty-printing for objects, perhaps even syntax highlighting

TODO list:

  • Switch the logging functions from string to any
  • Add the ability to make it log as JSON (or anything else, if there's a better way of doing it)
    • potentially add a special case for if the output is a browser console, as they handle objects themselves
  • On ANSI-supported consoles, add syntax highlighting
@towergame towergame self-assigned this Feb 8, 2022
@towergame towergame added the enhancement New feature or request label Feb 8, 2022
@towergame towergame added this to the v1.3 roadmap milestone Aug 3, 2022
@towergame
Copy link
Owner Author

Still need to figure out what to do in the case of browsers (as of right now, there is no detection whether or not its logging to a browser), but otherwise the feature is complete.

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

No branches or pull requests

1 participant