Skip to content

Commit

Permalink
Site updated at 2013-04-02 15:05:28 UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
devilankur18 committed Apr 2, 2013
1 parent e13e81b commit 19eb9a7
Show file tree
Hide file tree
Showing 17 changed files with 141 additions and 65 deletions.
2 changes: 1 addition & 1 deletion atom.xml
Expand Up @@ -4,7 +4,7 @@
<title><![CDATA[DEBUGGIFY]]></title>
<link href="http://debuggify.github.com/atom.xml" rel="self"/>
<link href="http://debuggify.github.com/"/>
<updated>2013-04-01T06:02:06+05:30</updated>
<updated>2013-04-02T20:34:59+05:30</updated>
<id>http://debuggify.github.com/</id>
<author>
<name><![CDATA[Debuggify]]></name>
Expand Down
2 changes: 1 addition & 1 deletion blog/categories/debugging/atom.xml
Expand Up @@ -4,7 +4,7 @@
<title><![CDATA[Category: debugging | DEBUGGIFY]]></title>
<link href="http://debuggify.github.com/blog/categories/debugging/atom.xml" rel="self"/>
<link href="http://debuggify.github.com/"/>
<updated>2013-04-01T06:02:06+05:30</updated>
<updated>2013-04-02T20:34:59+05:30</updated>
<id>http://debuggify.github.com/</id>
<author>
<name><![CDATA[Debuggify]]></name>
Expand Down
2 changes: 1 addition & 1 deletion blog/categories/javascript/atom.xml
Expand Up @@ -4,7 +4,7 @@
<title><![CDATA[Category: javascript | DEBUGGIFY]]></title>
<link href="http://debuggify.github.com/blog/categories/javascript/atom.xml" rel="self"/>
<link href="http://debuggify.github.com/"/>
<updated>2013-04-01T06:02:06+05:30</updated>
<updated>2013-04-02T20:34:59+05:30</updated>
<id>http://debuggify.github.com/</id>
<author>
<name><![CDATA[Debuggify]]></name>
Expand Down
2 changes: 1 addition & 1 deletion blog/categories/production/atom.xml
Expand Up @@ -4,7 +4,7 @@
<title><![CDATA[Category: production | DEBUGGIFY]]></title>
<link href="http://debuggify.github.com/blog/categories/production/atom.xml" rel="self"/>
<link href="http://debuggify.github.com/"/>
<updated>2013-04-01T06:02:06+05:30</updated>
<updated>2013-04-02T20:34:59+05:30</updated>
<id>http://debuggify.github.com/</id>
<author>
<name><![CDATA[Debuggify]]></name>
Expand Down
1 change: 1 addition & 0 deletions docs/data-41c2703db100c5818032b8425249cd4c.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/data-e68628e5f2f6b93ff26df8fc8406950f.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/guides/console/README.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions docs/guides/console/README.md
@@ -0,0 +1,31 @@
# Override Console

In production, We can easily capture console messages. And not only that, we can manage which type of message we want to capture.

Lets override console in a single line.

window.console = debuggify.Logger.get('console');

// We can console object to report errors
console.info('Yay! I can collect console messages')
console.log('Yay! I can collect console messages');
console.warn('Yay! I can collect console messages');
console.error('Yay! I can collect console messages');


This will send all types of messages to the server. But collecting info and log is not important so to limit it to receive only warn and error messages


window.console.setLevel(2);


Calling `setLevel` will only send messages which are greater than and equal to mentioned level.

We can also use selFlag to enable / disable any specific level.

// Disable info messages
window.console.setFlag('info', false);

// Enable info messages
window.console.setFlag('info', false);

Binary file added docs/guides/console/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/guides/overview/README.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 19eb9a7

Please sign in to comment.