- added build files for upcoming version 1.1.2
- improved ajax authentication check and "logout" notification | closed #198 - improved logging, added missing log file configuration to pathfinder.ini - added logging for "unauthorized" requests | closed #198 - updated js "jQuery" 1.11.3 -> 3.0.0 | #206 - updated js "datatables" plugin 1.10.7 -> 1.10.12 | #206 - updated js "mCustomScrollbar" 3.1.14 -> 3.1.4 | #206
This commit is contained in:
@@ -619,12 +619,12 @@ abstract class BasicModel extends \DB\Cortex {
|
||||
|
||||
/**
|
||||
* debug log function
|
||||
* @param $text
|
||||
* @param string $logFile
|
||||
* @param string $text
|
||||
* @param string $type
|
||||
*/
|
||||
public static function log($text, $logFile = null){
|
||||
$logFile = isset($logFile) ? $logFile : self::getF3()->get('PATHFINDER.LOGFILES.DEBUG');
|
||||
Controller\LogController::getLogger($logFile)->write($text);
|
||||
public static function log($text, $type = null){
|
||||
$type = isset($type) ? $type : 'DEBUG';
|
||||
Controller\LogController::getLogger($type)->write($text);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user