MCPcopy Create free account
hub / github.com/codemistic/Web-Development / log

Method log

text-to-qr/lib/phpqrcode/qrtools.php:101–112  ·  view source on GitHub ↗

----------------------------------------------------------------------

($outfile, $err)

Source from the content-addressed store, hash-verified

99
100 //----------------------------------------------------------------------
101 public static function log($outfile, $err)
102 {
103 if (QR_LOG_DIR !== false) {
104 if ($err != '') {
105 if ($outfile !== false) {
106 file_put_contents(QR_LOG_DIR.basename($outfile).'-errors.txt', date('Y-m-d H:i:s').': '.$err, FILE_APPEND);
107 } else {
108 file_put_contents(QR_LOG_DIR.'errors.txt', date('Y-m-d H:i:s').': '.$err, FILE_APPEND);
109 }
110 }
111 }
112 }
113
114 //----------------------------------------------------------------------
115 public static function dumpMask($frame)

Callers 15

calculateResultsFunction · 0.45
chart.jsFile · 0.45
addGlobalDataFunction · 0.45
setdateFunction · 0.45
setminuteFunction · 0.45
preloadFunction · 0.45
createFunction · 0.45
spinwheelFunction · 0.45
pos.jsFile · 0.45
makeSoundFunction · 0.45
type.jsFile · 0.45
setQuoteObjToStringFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected