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

Add FAQ about browser verbosity levels to prevent questions about debug method not working #172

Open
bahchis opened this issue Oct 18, 2017 · 6 comments

Comments

@bahchis
Copy link

bahchis commented Oct 18, 2017

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...")
  }
}
@langley-agm
Copy link
Contributor

langley-agm commented Oct 18, 2017 via email

@bahchis
Copy link
Author

bahchis commented Oct 18, 2017

No filter @langley-agm

@langley-agm
Copy link
Contributor

langley-agm commented Oct 18, 2017 via email

@bahchis
Copy link
Author

bahchis commented Oct 18, 2017

@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.

@langley-agm
Copy link
Contributor

langley-agm commented Oct 18, 2017 via email

@bahchis
Copy link
Author

bahchis commented Oct 18, 2017

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.

@bahchis bahchis changed the title Debug method not working in Chrome Add FAQ about browser verbosity levels to prevent questions about debug method not working Oct 18, 2017
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

2 participants