-
Notifications
You must be signed in to change notification settings - Fork 1
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
Universal support (browser + server) #5
Comments
Hey @Vadorequest Can extend it to work in servers as well, if I get the time :) |
Thank you. I'm currently trying to figure out which logger I should incorporate to Next Right Now. I'm currently considering both LogT and ulog. Have you heard of the latter? Also, could you share an example about how you did the My goal is to log the level/time/filename and the message(s) with an API that is consistent with the |
The label in blue is the logger.info("main.xs", "example info"); |
Had not heard of It might be better to have a separate library for backend, if you care about that kind of optimisation. Might be better to write a new library |
Is your feature request related to a problem? Please describe.
Currently, the
logt
utility seems to be only available in the browser. Some functions likereadConsole
seem to target the browserconsole
global object. It is unclear if it's usable on the server.Is this tool usable for the server side too? Is it universal?
Also, how do you specify the "filename" in the below screenshot? (taken from your twitter post)
Is it done manually, is it automated?
The text was updated successfully, but these errors were encountered: