Angular service that creates context-scoped Logger instances.
Inject LoggerFactory wherever you need a logger and call
createLogger with a context string (typically the class name).
A ConsoleLoggingStrategy is used by default, but you can
supply any ILoggingStrategy to redirect output.
Angular service that creates context-scoped Logger instances.
Inject
LoggerFactorywherever you need a logger and call createLogger with a context string (typically the class name). A ConsoleLoggingStrategy is used by default, but you can supply any ILoggingStrategy to redirect output.Example