/**
* The console service facilitates the writing of logging messages to the
* CompleteFTP server log. It's used by invoking methods of the global
* `console` object as follows:
* ```
* console.log("Hello world");
* ```
* Log messages are recorded in the `Diagnostics.log`
* file and may also be viewed by opening the real-time logging window or panel
* in CompleteFTP Manager.
*
* @namespace
*/
console = {
/**
* Write the given message to the server log (information-level).
*
* @method
* @param {String} message Message to log.
*/
log: function (message) { },
/**
* Write the given message to the server log (debug-level).
*
* @method
* @param {String} message Message to log.
*/
debug: function (message) { },
/**
* Write the given message to the server log (information-level).
*
* @method
* @param {String} message Message to log.
*/
info: function (message) { },
/**
* Write the given message to the server log (warning-level).
*
* @method
* @param {String} message Message to log.
*/
warn: function (message) { },
/**
* Write the given message to the server log (error-level).
*
* @method
* @param {String} message Message to log.
*/
error: function (message) { },
/**
* Writes a JSON representation of the given object with the
* given name to the server log (info-level).
*
* Note that this is functionally equivalent to
* ```
* console.log(label + " = " + JSON.stringify(object));
* ```
*
* @method
* @param {Object} object Object to be logged
* @param {String} [label] Label to show in the log
*/
dump: function (object, label) { }
}