function subHeader($sMsg) { $sStr = "\n\n# " . str_pad(strtoupper($sMsg) . " ", 78, "-", STR_PAD_RIGHT) . "\n"; $this->log($sStr); return $sStr; }