Error Logger :: Version 1.0 |
[eluser]tdktank59[/eluser]
Error Logger Description Error Logger is a error logging library that's main purpose is for use within other libraries to handle multiple errors and let you be able to send Boolean returns (TRUE/FALSE) and if FALSE you can retrieve the error message with ease! How it works Basically when you want to send an error back instead of writing Code: return $error; Code: $error = new Error_logger(); This will set 3 different variables $error->string :: A string version of all the error messages $error->all :: A array version of all the error messages $error->{$label} :: A single error message for a certain label To display the message you can use any of the 3 variables above You can also set error prefix and suffix in the config file to be used! Download Error Logger Version 1.0 Documentation |
Messages In This Thread |
Error Logger :: Version 1.0 - by El Forum - 06-29-2009, 09:00 PM
Error Logger :: Version 1.0 - by El Forum - 07-16-2009, 09:14 PM
Error Logger :: Version 1.0 - by El Forum - 07-16-2009, 10:44 PM
Error Logger :: Version 1.0 - by El Forum - 08-22-2010, 09:00 PM
|