var config = require('./config');

/**
 * Method: log
 *
 * Log using console.log, when remoteStorage logging is enabled.
 *
 * You can enable logging with <enableLog>.
 *
 * (In node.js you can also enable logging during remoteStorage object
 * creation. See: <RemoteStorage>).
 */
function log() {
  if (config.logging) {
    console.log.apply(console, arguments);
  }
}

module.exports = log;

@@ -36,26 +36,8 @@
 /**%0A
- * Method: log%0A *%0A
  * L
@@ -131,17 +131,32 @@
 ng with 
-%3C
+%60%60RemoteStorage#
 enableLo
@@ -156,17 +156,18 @@
 nableLog
-%3E
+%60%60
 .%0A *%0A * 
@@ -256,9 +256,15 @@
 ee: 
-%3C
+%7B@link 
 Remo
@@ -276,9 +276,9 @@
 rage
-%3E
+%7D
 ).%0A 

Switch log to JSDoc