markdox
Version:
Markdox is a documentation generator based on Dox and Markdown with support for JavaScript, CoffeeScript and IcedCoffeeScript.
38 lines (36 loc) • 619 B
JavaScript
/**
* # log.js
*
* This file contains logging function.
*
* @author Charles Bourasseau <charles.bourasseau@gmail.com>
* @version 0.0.1
* @deprecated
*/
/*!
* Ignored comment
*/
/**
* This method log a given message to the console.
*
* ### Examples:
*
* log('It works!');
*
* @param {String} message The message to log
* @return {Boolean} True if it success, false if not
* @see console.log()
* @name helloWorld
*/
var log = function (message) {
// comment
try {
console.log(message);
return true;
} catch e {
/*!
* Multiline comment
*/
return false;
}
};