![]() |
WiseLoop PHP Web Media Grabber 3.1.1
Advanced PHP web resources extractor
|
Public Member Functions | |
__construct ($logFilePath) | |
logInfo ($message, $isImportant=false, $isNewChapter=false) | |
logWarning ($message, $isImportant=false, $isNewChapter=false) | |
logError ($message, $isImportant=false, $isNewChapter=false) | |
log ($message, $isInfo=false, $isWarning=false, $isError=false, $isImportant=false, $isNewChapter=false) | |
Html () | |
Private Attributes | |
$_logFilePath |
WiseLoop Web Media Grabber Logger class definition
This class is designed to log events during media grabbing.
__construct | ( | $ | logFilePath | ) |
Constructor. Creates a wlWmgLogger object.
string | $logFilePath | the full path to the lof file |
Html | ( | ) |
log | ( | $ | message, |
$ | isInfo = false , |
||
$ | isWarning = false , |
||
$ | isError = false , |
||
$ | isImportant = false , |
||
$ | isNewChapter = false |
||
) |
Adds an entry to the log.
string | array | $message | |
bool | $isInfo | |
bool | $isWarning | |
bool | $isError | |
bool | $isImportant | |
bool | $isNewChapter | - specifies if a new chapter should start with the message |
logError | ( | $ | message, |
$ | isImportant = false , |
||
$ | isNewChapter = false |
||
) |
Logs am error.
string | array | $message | |
bool | $isImportant | |
bool | $isNewChapter | - specifies if a new chapter should start with the message |
logInfo | ( | $ | message, |
$ | isImportant = false , |
||
$ | isNewChapter = false |
||
) |
Logs an info type message.
string | array | $message | |
bool | $isImportant | |
bool | $isNewChapter | - specifies if a new chapter should start with the message |
logWarning | ( | $ | message, |
$ | isImportant = false , |
||
$ | isNewChapter = false |
||
) |
Logs a warning.
string | array | $message | |
bool | $isImportant | |
bool | $isNewChapter | - specifies if a new chapter should start with the message |
$_logFilePath [private] |
Type: string