Commit Graph

6 Commits

Author SHA1 Message Date
2781b63b68 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)
2011-08-20 11:34:29 +01:00
04de50cecd Add Syslog logging backend 2011-08-06 14:51:51 +01:00
0260adb4b4 Bug fix in database query construction 2011-04-25 00:42:52 +01:00
e1cb31e5ca Refactor of logging code to suport multiple log engines 2011-04-24 10:37:15 +01:00
6d1705f5a9 Updates class autoloader to use class_alias
Makes Exceptions extend the base classes, rather than the subclasses to
avoid class redefinition errors.
Makes PluginFactories define the interface using the base class rather
than a subclass to avoid class_implements() to fail by testing for a
class not in the hierarchy.
2010-10-11 23:04:20 +01:00
81521eae5f Updates framework to support automated framework subclasses
All framework classes have been renamed to use the SihnonFramework_ prefix.
The class autoloader now looks for subclasses of the framework classes in the Sihnon_Lib directory, and
automatically creates them if they don't exist. The autoloader correctly creates interfaces and abstract
classes as needed, by using reflection to check the type of the parent class.
All references to classes within the framework now use the Sihnon_ prefix.
The PluginFactory supports multiple scan directories, and will search both the framework and subclass class
tree to find candidate plugins.
2010-10-10 18:32:16 +01:00