WiseLoop PHP Web Media Grabber 3.1.1
Advanced PHP web resources extractor
wlWmgLogger Class Reference

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

Detailed Description

WiseLoop Web Media Grabber Logger class definition
This class is designed to log events during media grabbing.

Author:
WiseLoop

Constructor & Destructor Documentation

__construct ( logFilePath)

Constructor. Creates a wlWmgLogger object.

Parameters:
string$logFilePaththe full path to the lof file
Returns:
wlWmgLogger

Member Function Documentation

Html ( )
Returns:
string
log ( message,
isInfo = false,
isWarning = false,
isError = false,
isImportant = false,
isNewChapter = false 
)

Adds an entry to the log.

Parameters:
string | array$message
bool$isInfo
bool$isWarning
bool$isError
bool$isImportant
bool$isNewChapter- specifies if a new chapter should start with the message
Returns:
void
logError ( message,
isImportant = false,
isNewChapter = false 
)

Logs am error.

Parameters:
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.

Parameters:
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.

Parameters:
string | array$message
bool$isImportant
bool$isNewChapter- specifies if a new chapter should start with the message

Field Documentation

$_logFilePath [private]

Type: string


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables