Skip to content
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

Visual Scheduler: replace console logging with a configurable logger #51

Open
rreganjr opened this issue May 13, 2022 · 0 comments
Open

Comments

@rreganjr
Copy link
Owner

ideally a logger like Log4j that can wrap logging to bypass building strings if logging is off. Even better something like SLF4J because this is a library and why force a user to incorporate my logging library.

if (log.isDebugEnabled()) {
   log.debug(`some complex string building ${somevar} etc.`);
}

lots of articles to write your own, plus ngx-logger

https://github.com/pford68/slf4js - this is probably what I want.

https://dzone.com/articles/angular-logging-and-log-back - this includes server side support for log-back

https://medium.com/@dneimke/configurable-logging-in-angular-projects-30dd5d999db6

https://www.npmjs.com/package/ngx-logger

https://www.codemag.com/article/1711021/Logging-in-Angular-Applications

@rreganjr rreganjr changed the title replace console logging with a configurable logger Visual Scheduler: replace console logging with a configurable logger May 20, 2022
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

No branches or pull requests

1 participant