All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions
JobManagerFileLogger Class Reference
Inheritance diagram for JobManagerFileLogger:
ZurmoFileLogger

Public Member Functions

 setLogPath ($value)
 
 log ()
 
 processLogs ()
 
- Public Member Functions inherited from ZurmoFileLogger
 init ()
 
 getLogPath ()
 
 setLogPath ($value)
 
 getLogFile ()
 
 setLogFile ($value)
 
 getMaxFileSize ()
 
 setMaxFileSize ($value)
 
 getMaxLogFiles ()
 
 setMaxLogFiles ($value)
 
 getLogs ()
 
 setLogs ($logs= '')
 
 log ()
 
 processLogs ()
 

Protected Member Functions

 addLog ($data)
 
- Protected Member Functions inherited from ZurmoFileLogger
 addLog ($data)
 
 rotateFiles ()
 

Additional Inherited Members

- Protected Attributes inherited from ZurmoFileLogger
 $maxFileSize = 1024
 
 $maxLogFiles = 5
 
 $logPath
 
 $logFile = 'fileLogger.log'
 
 $logs = ''
 

Detailed Description

Log jobManager logs queries into file.

Definition at line 40 of file JobManagerFileLogger.php.

Member Function Documentation

setLogPath (   $value)

Create logPath if it does not already exist

Parameters
string$value

Definition at line 46 of file JobManagerFileLogger.php.

addLog (   $data)
protected

Add log at the end of current logs

Parameters
$data

Definition at line 60 of file JobManagerFileLogger.php.

log ( )

Save log into file.

Definition at line 70 of file JobManagerFileLogger.php.

processLogs ( )

Save sql query logs into file

Definition at line 94 of file JobManagerFileLogger.php.


The documentation for this class was generated from the following file:
Generated on Fri Feb 28 2020 07:10:52