Refactor of logging code to suport multiple log engines
This commit is contained in:
15
source/lib/SihnonFramework/Log/PluginBase.class.php
Normal file
15
source/lib/SihnonFramework/Log/PluginBase.class.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
class SihnonFramework_Log_PluginBase extends SihnonFramework_PluginBase {
|
||||
|
||||
protected $instance;
|
||||
|
||||
protected function __construct($instance) {
|
||||
$this->instance = $instance;
|
||||
}
|
||||
|
||||
public function instance() {
|
||||
return $this->instance;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user