Class pvr.logging._LoggerMixin

Provides a mix-in class that adds logging capabilities into the class.
Defined in: <pvr\logging\_LoggerMixin.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
logDebug(message, extra)
Logs a debug message and any extra data provided.
 
logEntry(extra)
Logs an entry message and any extra data provided.
 
logError(message, extra)
Logs an error message and any extra data provided.
 
logExit(extra)
Logs an exit message and any extra data provided.
 
logInfo(message, extra)
Logs an information message and any extra data provided.
 
logWarning(message, extra)
Logs a warning message and any extra data provided.

Constructor Detail

pvr.logging._LoggerMixin()

Method Detail

logDebug(message, extra)

Logs a debug message and any extra data provided.

Note: You must ensure that your extra data contains no infinite recursion.

Parameters:
message
The debug message.
extra
The extra data to log.

logEntry(extra)

Logs an entry message and any extra data provided.

Note: You must ensure that your extra data contains no infinite recursion.

Parameters:
extra
The extra data to log.

logError(message, extra)

Logs an error message and any extra data provided.

Note: You must ensure that your extra data contains no infinite recursion.

Parameters:
message
The error message.
extra
The extra data to log.

logExit(extra)

Logs an exit message and any extra data provided.

Note: You must ensure that your extra data contains no infinite recursion.

Parameters:
extra
The extra data to log.

logInfo(message, extra)

Logs an information message and any extra data provided.

Note: You must ensure that your extra data contains no infinite recursion.

Parameters:
message
The information message.
extra
The extra data to log.

logWarning(message, extra)

Logs a warning message and any extra data provided.

Note: You must ensure that your extra data contains no infinite recursion.

Parameters:
message
The warning message.
extra
The extra data to log.