Open Toub opened 8 years ago
@Toub angular-logger uses whatever version of sprintf you are currently using. It seems an issue with sprintf. Can you try with some other versions as well?
On a sidenote, I also released a new patch version, 1.3.2.
I know this is a long time ago, but I'm getting the same error.
This fails: this.$log.debug("cropAspectRatio => %f", this.cropAspectRatio);
This works: this.$log.debug(sprintf("cropAspectRatio => %f", this.cropAspectRatio));
i'm no sure what's going on. I'm using 1.3.2 of angular-logger and 1.1.2 of sprintf-js
Looks like the numbers formatter always fails when using decimals. It should never fail, even if the decimal is not provided.
Stack trace: