Changeset 15162 for branches/feature-module-paygent/data/lib/glib.php
- Timestamp:
- 2007/08/01 23:44:48 (19 years ago)
- File:
-
- 1 edited
-
branches/feature-module-paygent/data/lib/glib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-paygent/data/lib/glib.php
r15120 r15162 87 87 *----------------------------------------------------------------------*/ 88 88 function gfDebugLog($obj, $path = DEBUG_LOG_PATH){ 89 gfPrintLog("*** start Debug ***");89 $buffer = "*** start Debug ***\n"; 90 90 ob_start(); 91 91 print_r($obj); 92 $buffer = ob_get_contents();92 $buffer.= ob_get_contents() . "\n"; 93 93 ob_end_clean(); 94 $buffer.= "*** end Debug ***\n"; 94 95 $fp = fopen($path, "a+"); 95 96 fwrite( $fp, $buffer."\n" ); 96 97 fclose( $fp ); 97 gfPrintLog("*** end Debug ***"); 98 98 99 99 // ¥í¥°¥Æ¡¼¥·¥ç¥ó 100 100 gfLogRotation(MAX_LOG_QUANTITY, MAX_LOG_SIZE, $path);
Note: See TracChangeset
for help on using the changeset viewer.
