Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:logerror

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:core:logerror [2026/09/26 09:09] – admin adminscriptlog:lib:core:logerror [2026/09/26 09:34] (current) – admin admin
Line 12: Line 12:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Core Class | +| ''@category'' | Core Class | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT | +| ''@license'' | MIT | 
-  | ''@version'' | 1.0 | +| ''@version'' | 1.0 | 
-  | ''@since'' | Since Release 1.0 |+| ''@since'' | Since Release 1.0 |
  
 ======= Inheritance ======= ======= Inheritance =======
Line 27: Line 27:
 //None.// //None.//
  
-======= Properties (1) =======+======= Properties (2) =======
  
-  ^ Visibility ^ Type ^ Name ^ Default ^ Line ^ +^ Visibility ^ Type ^ Name ^ Default ^ Line ^ 
-  | ''private static'' | ''static'' | ''$logFilePath'' | ''APP_ROOT . APP_PUBLIC . '/log/';'' | 22 |+| ''private static'' | ''static'' | ''$logFilePath'' | ''APP_ROOT . APP_PUBLIC . '/log/''' | 22 | 
 +| ''private static'' | ''static'' | ''$httpResponseCode'' |  | 24 |
  
 ======= Methods (7) ======= ======= Methods (7) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public static | ''logPath()'' | (undocumented) | 26 | +| public static | ''logPath()'' | (undocumented) | 26 | 
-  | public static | ''customErrorMessage()'' |  | 37 | +| public static | ''customErrorMessage()'' |  | 37 | 
-  | public static | ''exceptionHandler()'' | exceptionHandler | 84 | +| public static | ''exceptionHandler()'' | exceptionHandler | 84 | 
-  | public static | ''errorHandler()'' | errorHandler | 108 | +| public static | ''errorHandler()'' | errorHandler | 108 | 
-  | public static | ''newMessage()'' |  | 121 | +| public static | ''newMessage()'' |  | 121 | 
-  | public static | ''setStatusCode()'' | (undocumented) | 127 | +| public static | ''setStatusCode()'' | (undocumented) | 127 | 
-  | private static | ''getStatusCode()'' | (undocumented) | 133 |+| private static | ''getStatusCode()'' | (undocumented) | 133 |
  
  
Line 65: Line 66:
 //lines 37–76 (40)// //lines 37–76 (40)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$privilege'' | ''(untyped)'' | ''null'' | //none// |+|  ''$privilege'' |  ''(untyped)'' |  ''null'' |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 81: Line 82:
 exceptionHandler exceptionHandler
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$e'' | ''(untyped)'' | //required// | //none// |+|  ''$e'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 97: Line 98:
 errorHandler errorHandler
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$code'' | ''(untyped)'' | //required// | //none// | +|  ''$code'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$description'' | ''(untyped)'' | //required// | //none// | +|  ''$description'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$file'' | ''(untyped)'' | ''null'' | //none// | +|  ''$file'' |  ''(untyped)'' |  ''null'' |  //none// | 
-  | ''$line'' | ''(untyped)'' | ''null'' | //none// |+|  ''$line'' |  ''(untyped)'' |  ''null'' |  //none// |
  
 **Returns:** ''(none declared)'' — void|bool **Returns:** ''(none declared)'' — void|bool
Line 114: Line 115:
 //lines 121–125 (5)// //lines 121–125 (5)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$exception'' | ''(untyped)'' | //required// | //none// |+|  ''$exception'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 128: Line 129:
 //lines 127–131 (5)// //lines 127–131 (5)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$statusCode'' | ''(untyped)'' | //required// | //none// |+|  ''$statusCode'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''int'' **Returns:** ''int''
scriptlog/lib/core/logerror.1790413762.txt.gz · Last modified: by admin