-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I have 2 use cases where this might be useful:
-
when one wants to check WHERE
segment.trackwas used one should useconsole.traceinstead ofconsole.log. Right now in debug mode all logs originate in the same line inangular-segment-analyticssource which is not useful for finding a call with incorrect arguments) -
when one wanted to use different logger than
console(for example $log)
Suggested API:
- if
setDebug()is called with a boolean thenconsole.logis used, if function is passed this function is used, or setLogger(someFunction)
Metadata
Metadata
Assignees
Labels
No labels