You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but it gives me ugly decimal numbers like 1514.76513671875ms
My proposal is to give us access to the time variable, maybe as a callback as second paramter or an optional config object, so we can set the decimal points, change unit, etc. If something like this already exists, please shed some light on it.
The text was updated successfully, but these errors were encountered:
hey @MuneebNaveed, glad you are finding use for this lib. The 'time' methods were originally formatted to be consistent with Chrome's output:
If you really want to reformat this, you could consider raising a diff which adds a 'timeFormatter' func to the defaultLogHandler options object; although I'm not sure if this would provide value to others users (and therefore may be best resolved by you forking and vendoring this library)
I am currently using
but it gives me ugly decimal numbers like
1514.76513671875ms
My proposal is to give us access to the time variable, maybe as a callback as second paramter or an optional config object, so we can set the decimal points, change unit, etc. If something like this already exists, please shed some light on it.
The text was updated successfully, but these errors were encountered: