Class Debug
Methods summary
| 
				 public static
				
				
				 | |
| 
				 public static
				
				
				 | |
| 
				 public static
				
				
				 | |
| 
				 public static
				
				
				 | |
| 
				 public static
				
				
				 | |
| 
				 public static
				
				
				 | |
| 
				 public static
				
				
				 | |
| 
				 public static
				
				
				 | 
			#
			 error_handler( integer $no, string $str, string $file, integer $line, array $context )Handles errors. | 
| 
				 public static
				
				
				 | |
| 
				 public static
				string
				
				 | |
| 
				 public static
				string
				
				 | |
| 
				 public static
				string
				
				 | 
			#
			 format_code_sample( string $file, integer $line = 0 )Extracts and formats a code sample around the line that triggered the alert. | 
| 
				 public static
				
				
				 | |
| 
				 public static
				
				
				 | |
| 
				 public static
				array
				
				 | |
| 
				 public static
				array
				
				 | 
			#
			 fetch_messages( string $type )Similar to the get_message() method, the method returns the messages available in a given log, but clear the log after the messages have been extracted. | 
Magic methods summary
Constants summary
| string | 
					MODE_DEV
			 | 'dev' | |
| string | 
					MODE_TEST
			 | 'test' | |
| string | 
					MODE_PRODUCTION
			 | 'production' | |
| integer | 
					MAX_MESSAGES
			 | 100 | |
| integer | 
					MAX_STRING_LEN
			 | 16 | 
Properties summary
| 
				public static 
				string
			 | $mode | |
| 
				public static 
				array[string]mixed
			 | $last_error | 
				#
				 Last error. | 
| 
				public static 
				string
			 | $last_error_message | 
				#
				 Last error message. | 
| 
				public static 
				array
			 | $logs |