mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 11:19:26 +02:00
34 lines
972 B
PHP
34 lines
972 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;
|
|
}
|
|
// ---
|
|
|
|
abstract class LogStreamConfig {
|
|
protected $_logStreamConfigObj = null;
|
|
protected $_logStreamId = -1;
|
|
protected $_logStreamName = '';
|
|
protected $_defaultFacility = '';
|
|
protected $_defaultSeverity = '';
|
|
|
|
public abstract function LogStreamFactory($o);
|
|
|
|
}
|
|
?>
|