Ferreteria/v0.6/clade/aux/StandardBase/@code/2026/04/29

From WoozleCodes
Jump to navigation Jump to search
2026/04/28 2026/04/29 2026/04/30

This does not appear to be used.

#
    protected function NewLogFile() : LogVenueIface {
        $ofLog = self::$ofLog;
        if (is_null($ofLog)) {
            $oPaths = FilePaths::Me();
            $fpLogs = $oPaths->Values()->FPLogging();
            $fsLog = $fpLogs."/process.log";          // KLUGE
            #echo $oPaths->Values()->ReflectThis()->Report();
            $ofLog = LogFileClass::FromSpec($fsLog);
            echo "LOGGING to $fsLog".CRLF;
            self::$ofLog = $ofLog;
            $ofLog->InOut()->Mode(ModeClass::FromCodes('W+C+F0'));
            $ofLog->Ident()->DeleteNz();  // delete if already exists
        }
        return $ofLog;
    }