Changeset 7814
- Timestamp:
- 03/12/08 01:57:54 (7 months ago)
- Files:
-
- branches/1.1/lib/task/sfCommandApplicationTask.class.php (modified) (2 diffs)
- branches/1.1/lib/task/sfTask.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/task/sfCommandApplicationTask.class.php
r7400 r7814 30 30 * @see sfTask 31 31 */ 32 p rotectedfunction log($messages)32 public function log($messages) 33 33 { 34 34 if (is_null($this->commandApplication) || $this->commandApplication->isVerbose()) … … 41 41 * @see sfTask 42 42 */ 43 p rotectedfunction logSection($section, $message, $size = null)43 public function logSection($section, $message, $size = null) 44 44 { 45 45 if (is_null($this->commandApplication) || $this->commandApplication->isVerbose()) branches/1.1/lib/task/sfTask.class.php
r7397 r7814 280 280 * @param mixed The message as an array of lines of a single string 281 281 */ 282 p rotectedfunction log($messages)282 public function log($messages) 283 283 { 284 284 if (!is_array($messages)) … … 297 297 * @param integer The maximum size of a line 298 298 */ 299 p rotectedfunction logSection($section, $message, $size = null)299 public function logSection($section, $message, $size = null) 300 300 { 301 301 $this->dispatcher->notify(new sfEvent($this, 'command.log', array($this->formatter->formatSection($section, $message, $size))));