octokit / octokit.js

The all-batteries-included GitHub SDK for Browsers, Node.js, and Deno.
MIT License
6.94k stars 1.02k forks source link

How do I disable node-github from emitting log messages to the console? #269

Closed bookercodes closed 9 years ago

bookercodes commented 9 years ago

Hi,

Quick question: How do I disable node-github from emitting log messages to the console?

Many thanks.

jeancedron commented 9 years ago

Isn't enough using debug: false here?:

var github = new GitHubApi({
    debug: false
});
bookercodes commented 9 years ago

I did try that but it didn't work on account of me using an outdated version of this library.

I meant to close this issue. Sorry. And thanks!