Last active
February 27, 2016 13:39
-
-
Save blister/a54960ae9b89a6051ac5 to your computer and use it in GitHub Desktop.
LogDebug API Examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var LogDebug = require('LogDebug'); | |
| var ld = new LogDebug('YOUR_API_KEY'); | |
| ld.log('This is a simple log entry'); | |
| ld.log('This log entry has complex data', { user: 'Steve', isCustomer: false }); | |
| ld.error('Server error, send a text message!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require_once 'LogDebug.php'; | |
| $ld = new LogDebug('YOUR_API_KEY'); | |
| $ld->log('This is a simple log entry'); | |
| $ld->log('This log entry has complex data', array( user => 'Steve', isCustomer => false )); | |
| $ld->error('Server error, send a text message!'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment