[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 233 lignes (8 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
DefaultLogger:: (11 méthodes):
__construct()
setMessageOutputLevel()
buildStarted()
buildFinished()
targetStarted()
targetFinished()
taskStarted()
taskFinished()
messageLogged()
_formatTime()
printMessage()
Classe: DefaultLogger - X-Ref
Writes a build event to the console.__construct() X-Ref |
Construct a new default logger. |
setMessageOutputLevel($level) X-Ref |
Set the msgOutputLevel this logger is to respond to. Only messages with a message level lower than or equal to the given level are output to the log. <p> Constants for the message levels are in Project.php. The order of the levels, from least to most verbose, is: <ul> <li>PROJECT_MSG_ERR</li> <li>PROJECT_MSG_WARN</li> <li>PROJECT_MSG_INFO</li> <li>PROJECT_MSG_VERBOSE</li> <li>PROJECT_MSG_DEBUG</li> </ul> The default message level for DefaultLogger is PROJECT_MSG_ERR. param: integer the logging level for the logger. |
buildStarted(BuildEvent $event) X-Ref |
Sets the start-time when the build started. Used for calculating the build-time. param: object The BuildEvent |
buildFinished(BuildEvent $event) X-Ref |
Prints whether the build succeeded or failed, and any errors that occured during the build. Also outputs the total build-time. param: object The BuildEvent |
targetStarted(BuildEvent $event) X-Ref |
Prints the current target name param: object The BuildEvent |
targetFinished(BuildEvent $event) X-Ref |
Fired when a target has finished. We don't need specific action on this event. So the methods are empty. param: object The BuildEvent |
taskStarted(BuildEvent $event) X-Ref |
Fired when a task is started. We don't need specific action on this event. So the methods are empty. param: object The BuildEvent |
taskFinished(BuildEvent $event) X-Ref |
Fired when a task has finished. We don't need specific action on this event. So the methods are empty. param: object The BuildEvent |
messageLogged(BuildEvent $event) X-Ref |
Print a message to the stdout. param: object The BuildEvent |
_formatTime($micros) X-Ref |
Formats a time micro integer to human readable format. param: integer The time stamp |
printMessage($message, $priority) X-Ref |
Prints a message to console. param: string $message The message to print. param: int $priority The priority of the message. return: void |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |