This is a class that represents a recorder. This is the listener to the build process.
author |
Siad Ardroumli siad.ardroumli@gmail.com |
---|---|
package |
phing.tasks.system |
__construct(string $name)
string
The name of this recorder (used as the filename).
cleanup()
closeFile()
Used by Recorder.
flush()
formatTime( $millis)
getFilename() : string
string
the name of the file the output is sent to.
getProject()
log(string $mesg, integer $level)
string
The message to log.
integer
The verbosity level of the message.
openFile(boolean $append)
Used by Recorder.
throws | |
---|---|
boolean
Indicates if output must be appended to the logfile or that the logfile should be overwritten.
openFileImpl( $append)
reopenFile()
Used by Recorder.
throws | |
---|---|
setEmacsMode( $emacsMode)
setMessageOutputLevel( $level)
Messages below this level are ignored.
Constants for the message levels are in Project.php. The order of the levels, from least to most verbose, is:
setProject(\Project $project)
setRecordState( $state)
subBuildFinished(\BuildEvent $event)
subBuildStarted(\BuildEvent $event)
filename : string
var |
---|
string
record : boolean
var |
---|
boolean
loglevel :
targetStartTime :
emacsMode :