Futilities/v0.6/clade/Sys/IO/Store/Spider/@code/2026/05/25

From WoozleCodes
Jump to navigation Jump to search
2026/05/24 2026/05/25 2026/05/26

Original version of logging: re-implement later.

#
        // if we're logging what we find, open an output file
        $oOptsList = $oOpts->ListingOptions();  // get Listing sub-options
        if ($oOptsList->UseLogFile()) {
            // 2026-05-02 This will need remediation...
            #$fs = $oOptsList->LogFileSpec();
            #$sDescr = $oOpts->DescribeSelf();
            #$sTime = date('Y/m/d H:i:s');

            #$oLog = new cLog($fs);
            $oLog = $this->Logger();
            $oLog->WriteLn(cApp::Me()->GetVersionString());
            $oLog->Write($sTime.' '.$sDescr);         // $sDescr ends with a CRLF
            #$this->SetLogFile($oLog);
        }