1 | <?php |
||
18 | class AdminPageFramework_Debug_Log extends AdminPageFramework_Debug_Base { |
||
19 | |||
20 | /** |
||
21 | * Logs the given variable output to a file. |
||
22 | * |
||
23 | * @param mixed $mValue The value to log. |
||
24 | * @param string $sFilePath The log file path. |
||
25 | * @since 3.8.9 |
||
26 | * @return void |
||
27 | **/ |
||
28 | static protected function _log( $mValue, $sFilePath=null ) { |
||
46 | /** |
||
47 | * @since 3.8.9 |
||
48 | * @return string |
||
49 | */ |
||
50 | static private function _getLogContents( $mValue, $_fCurrentTimeStamp, $_fPreviousTimeStamp, $_sCallerClass, $_sCallerFunction ) { |
||
59 | /** |
||
60 | * @since 3.8.9 |
||
61 | * @return string |
||
62 | */ |
||
63 | static private function _getCallerFunctionName( $oCallerInfo ) { |
||
70 | /** |
||
71 | * @since 3.8.9 |
||
72 | * @return string |
||
73 | */ |
||
74 | static private function _getCallerClassName( $oCallerInfo ) { |
||
81 | /** |
||
82 | * Determines the log file path. |
||
83 | * @since 3.5.3 |
||
84 | * @internal |
||
85 | * @return string The path of the file to log the contents. |
||
86 | */ |
||
87 | static private function _getLogFilePath( $bsFilePath, $sCallerClass ) { |
||
100 | /** |
||
101 | * Creates a file. |
||
102 | * @return boolean |
||
103 | * @internal |
||
104 | */ |
||
105 | static private function _createFile( $sFilePath ) { |
||
116 | |||
117 | /** |
||
118 | * Returns the heading part of a log item. |
||
119 | * @since 3.5.3 |
||
120 | * @internal |
||
121 | * @return string the heading part of a log item. |
||
122 | */ |
||
123 | static private function _getLogHeadingLine( $fCurrentTimeStamp, $nElapsed, $sCallerClass, $sCallerFunction ) { |
||
139 | |||
140 | /** |
||
141 | * Returns the GMT offset of the site. |
||
142 | * |
||
143 | * @return numeric |
||
144 | */ |
||
145 | static private function _getSiteGMTOffset() { |
||
152 | |||
153 | /** |
||
154 | * @return integer |
||
155 | */ |
||
156 | static private function _getPageLoadID() { |
||
163 | |||
164 | /** |
||
165 | * Returns formatted elapsed time. |
||
166 | * @since 3.5.3 |
||
167 | * @internal |
||
168 | * @return string Formatted elapsed time. |
||
169 | */ |
||
170 | static private function _getFormattedElapsedTime( $nElapsed ) { |
||
193 | |||
194 | } |
||
195 |