Add FAQ about browser verbosity levels to prevent questions about debug method not working
Every other methods: error, warn, info, log work fine and print the value, but debug prints nothing and no error message to be found.
Using chrome Version 59.0.3071.115 (Official Build) (64-bit)
I use in app.module:
import { Logger, Options as LoggerOptions, Level as LoggerLevel } from "angular2-logger/core";
@NgModule({
providers: [
{ provide: LoggerOptions, useValue: { level: 5 } },
Logger
]
})
export class AppModule { }
In the service:
import { Logger } from "angular2-logger/core";
@Injectable()
export class MyService {
constructor(private logger: Logger) {
this.logger.debug("Debug message...")
}
}
Make sure you are not filtering them with the browser.
On Oct 18, 2017 11:26, "Sergey Bahchissaraitsev" [email protected] wrote:
Every other method: error, warn, info, log work fine and print the value, but debug prints nothing and no error message to be found.
Using chrome Version 59.0.3071.115 (Official Build) (64-bit)
I use in app.module:
import { Logger, Options as LoggerOptions, Level as LoggerLevel } from "angular2-logger/core";
@NgModule({ providers: [ { provide: LoggerOptions, useValue: { level: 5 } }, Logger ] }) export class AppModule { }
In the service:
import { Logger } from "angular2-logger/core";
@Injectable() export class MyService {
constructor(private logger: Logger) { this.logger.debug("Debug message...") } }
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/code-chunks/angular2-logger/issues/172, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHLTUbGjqvZrqgemrwDaSJw9e5HiH5uks5stiaxgaJpZM4P9_Wf .
No filter @langley-agm
Please double check, this has been reported/resolved several times, do a search in the issues or look for a dropdown in the chrome console filtering out verbosity msgs
On Oct 18, 2017 12:39, "Sergey Bahchissaraitsev" [email protected] wrote:
No filter @langley-agm https://github.com/langley-agm
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/code-chunks/angular2-logger/issues/172#issuecomment-337669820, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHLTajDC3R2e7UkZ8_MARGpkEOh7WNkks5stje8gaJpZM4P9_Wf .
@langley-agm looks like you were right. Did notice the drop-down. How about changing this to add this to the readme so others would have an easier time finding the source of this issue?
Thanks.
I've been meaning to add it to a frequently asked questions in the front page but I haven't got time, a PR would be welcome :)
On Oct 18, 2017 12:44, "Sergey Bahchissaraitsev" [email protected] wrote:
@langley-agm https://github.com/langley-agm looks like you were right. Did notice the drop-down. How about changing this to add this to the readme so others would have an easier time finding the source of this issue?
Thanks.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/code-chunks/angular2-logger/issues/172#issuecomment-337671473, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHLTXYizYFMXFbysKPxK74RHflxMdH3ks5stjkBgaJpZM4P9_Wf .
Saw it coming @langley-agm I will try to find some time. For now, I will just change the issue name to add it to the faq.