Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / form-data / node_modules / async / log.js
1 'use strict';
2
3 Object.defineProperty(exports, "__esModule", {
4   value: true
5 });
6
7 var _consoleFunc = require('./internal/consoleFunc');
8
9 var _consoleFunc2 = _interopRequireDefault(_consoleFunc);
10
11 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
13 /**
14  * Logs the result of an `async` function to the `console`. Only works in
15  * Node.js or in browsers that support `console.log` and `console.error` (such
16  * as FF and Chrome). If multiple arguments are returned from the async
17  * function, `console.log` is called on each argument in order.
18  *
19  * @name log
20  * @static
21  * @memberOf module:Utils
22  * @method
23  * @category Util
24  * @param {Function} function - The function you want to eventually apply all
25  * arguments to.
26  * @param {...*} arguments... - Any number of arguments to apply to the function.
27  * @example
28  *
29  * // in a module
30  * var hello = function(name, callback) {
31  *     setTimeout(function() {
32  *         callback(null, 'hello ' + name);
33  *     }, 1000);
34  * };
35  *
36  * // in the node repl
37  * node> async.log(hello, 'world');
38  * 'hello world'
39  */
40 exports.default = (0, _consoleFunc2.default)('log');
41 module.exports = exports['default'];