Created
January 27, 2015 18:22
-
-
Save joelataylor/dcdea9e4d2b698babae5 to your computer and use it in GitHub Desktop.
This file contains 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
<select name="rollbar_logging_level"> | |
<option value="1" <?php echo rollbar_get_error_level_match($current_val, 1); ?>>Fatal run-time errors (E_ERROR) only</option> | |
<option value="2" <?php echo rollbar_get_error_level_match($current_val, 2); ?>>Run-time warnings (E_WARNING) and above</option> | |
<option value="4" <?php echo rollbar_get_error_level_match($current_val, 4); ?>>Compile-time parse errors (E_PARSE) and above</option> | |
<option value="8" <?php echo rollbar_get_error_level_match($current_val, 8); ?>>Run-time notices (E_NOTICE) and above</option> | |
<option value="256" <?php echo rollbar_get_error_level_match($current_val, 256); ?>>User-generated error messages (E_USER_ERROR) and above</option> | |
<option value="512" <?php echo rollbar_get_error_level_match($current_val, 512); ?>>User-generated warning messages (E_USER_WARNING) and above</option> | |
<option value="1024" <?php echo rollbar_get_error_level_match($current_val, 1024); ?>>User-generated notice messages (E_USER_NOTICE) and above</option> | |
<option value="2048" <?php echo rollbar_get_error_level_match($current_val, 2028); ?>>Suggest code changes to ensure forward compatibility (E_STRICT) and above</option> | |
<option value="8192" <?php echo rollbar_get_error_level_match($current_val, 8192); ?>>Warnings about code that will not work in future versions (E_DEPRECATED) and above</option> | |
<option value="32767" <?php echo rollbar_get_error_level_match($current_val, 32767); ?>>Absolutely everything (E_ALL)</option> | |
</select> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment