Skip to content

Replacing custom "log" function with system.log that comes with durandal for notifier.js#1

Open
AshanFernando wants to merge 1 commit intohasith:masterfrom
AshanFernando:master
Open

Replacing custom "log" function with system.log that comes with durandal for notifier.js#1
AshanFernando wants to merge 1 commit intohasith:masterfrom
AshanFernando:master

Conversation

@AshanFernando
Copy link
Collaborator

This is a suggestion to use a unique logger through out the system. Only replaced custom "log" in notifier.js and since durandal already has a logger built in (system.log), it would be easier to use it. When it comes to production, logging can be globally switched off and I hope durandal optimizer can remove the logging from the script when optimizing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant