logInfo
void session.logInfo ( Object message ) (professional and enterprise editions only)
Description
Write message to the log, at the the info level (second most verbose).
Parameters
- message Message to be written to the log after being converted to a String using String.valueOf( message ).
Return Values
Returns void. If an error occurs, an error will be thrown.
Change Log
Version | Description |
---|---|
5.5 | Now accepts any Object as a message |
4.5 | Available for professional and enterprise editions. |
Examples
Write to Log at Info level
// Sends the message to the second lowest level of logging.
session.logInfo( "Traversing search results pages..." );
session.logInfo( "Traversing search results pages..." );
- log() [session] - Sends a message to the log as a debugging message
- logDebug() [session] - Sends a message to the log as a debugging message
- logWarn() [session] - Sends a message to the log as a warning
- logError() [session] - Sends a message to the log as an error message
- info() [log] - Sends a message to the log as an info message
scraper on 07/16/2010 at 5:02 pm
- Printer-friendly version
- Login or register to post comments