mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 19:29:07 +02:00
32 lines
868 B
PHP
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);
|
|
}
|
|
|
|
}
|
|
?>
|