loganalyzer/classes/logstreamconfigdisk.class.php
2008-03-11 12:04:04 +01:00

32 lines
868 B
PHP

<?php
/*
*********************************************************************
* Copyright by Adiscon GmbH | 2008! *
* -> www.phplogcon.org <- *
* *
* Use this script at your own risk! *
* ----------------------------------------------------------------- *
* StreamConfig has the capability to create a specific LogStream *
* object depending on a configured LogStream*Config object. *
* *
* All directives are explained within this file *
*********************************************************************
*/
// --- Avoid directly accessing this file!
if ( !defined('IN_PHPLOGCON') )
{
die('Hacking attempt');
exit;
}
// ---
class LogStreamConfigDisk extends LogStreamConfig {
public $FileName = '';
public function LogStreamFactory($o) {
return new LogStreamDisk($o);
}
}
?>