Ejemplo n.º 1
0
 /**
  * Enables the logging of messages issued with `say` and `speak` methods and error messages into a file located at
  * a specified path.
  *
  * @param  string $logFp The path to the log file.
  *
  * @return void
  */
 public static function setLogging($logFp)
 {
     assert('is_cstring($logFp)', vs(isset($this), get_defined_vars()));
     $logFp = CFilePath::frameworkPath($logFp);
     self::$ms_logFp = $logFp;
 }