Bug fixes to reduce logging-related crashes
* Provide a method for plugins to report failure to initialise * Check plugins initialised properly before adding to list of logging backends * Check the logger is available before trying to log a message (might cause bugs if errors are logged very early in initialisation)
This commit is contained in:
@@ -30,5 +30,8 @@ class SihnonFramework_Exception_CacheObjectNotFound extends SihnonFramework_E
|
||||
|
||||
class SihnonFramework_Exception_InvalidPluginName extends SihnonFramework_Exception {};
|
||||
|
||||
class SihnonFramework_Exception_LogException extends SihnonFramework_Exception {};
|
||||
class SihnonFramework_Exception_LogFileNotWriteable extends SihnonFramework_Exception_LogException {};
|
||||
class SihnonFramework_Exception_InvalidLog extends SihnonFramework_Exception_LogException {};
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user