add new event and new tag

This commit is contained in:
Manuel Raynaud
2013-09-07 16:31:15 +02:00
parent f6ab8888f3
commit 5315e13ce9
6 changed files with 142 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ class PropelCollector extends DataCollector implements Renderable, LoggerInterfa
*/
function getName()
{
// TODO: Implement getName() method.
return "Propel 2";
}
public function getWidgets()
@@ -73,4 +73,124 @@ class PropelCollector extends DataCollector implements Renderable, LoggerInterfa
)
);
}
/**
* System is unusable.
*
* @param string $message
* @param array $context
* @return null
*/
public function emergency($message, array $context = array())
{
// TODO: Implement emergency() method.
}
/**
* Action must be taken immediately.
*
* Example: Entire website down, database unavailable, etc. This should
* trigger the SMS alerts and wake you up.
*
* @param string $message
* @param array $context
* @return null
*/
public function alert($message, array $context = array())
{
// TODO: Implement alert() method.
}
/**
* Critical conditions.
*
* Example: Application component unavailable, unexpected exception.
*
* @param string $message
* @param array $context
* @return null
*/
public function critical($message, array $context = array())
{
// TODO: Implement critical() method.
}
/**
* Runtime errors that do not require immediate action but should typically
* be logged and monitored.
*
* @param string $message
* @param array $context
* @return null
*/
public function error($message, array $context = array())
{
// TODO: Implement error() method.
}
/**
* Exceptional occurrences that are not errors.
*
* Example: Use of deprecated APIs, poor use of an API, undesirable things
* that are not necessarily wrong.
*
* @param string $message
* @param array $context
* @return null
*/
public function warning($message, array $context = array())
{
// TODO: Implement warning() method.
}
/**
* Normal but significant events.
*
* @param string $message
* @param array $context
* @return null
*/
public function notice($message, array $context = array())
{
// TODO: Implement notice() method.
}
/**
* Interesting events.
*
* Example: User logs in, SQL logs.
*
* @param string $message
* @param array $context
* @return null
*/
public function info($message, array $context = array())
{
// TODO: Implement info() method.
}
/**
* Detailed debug information.
*
* @param string $message
* @param array $context
* @return null
*/
public function debug($message, array $context = array())
{
// TODO: Implement debug() method.
}
/**
* Logs with an arbitrary level.
*
* @param mixed $level
* @param string $message
* @param array $context
* @return null
*/
public function log($level, $message, array $context = array())
{
// TODO: Implement log() method.
}
}