node_modules/opentracing/src/span.js
/**
     * Adds the given key value pairs to the set of span tags.
     *
     * Multiple calls to addTags() results in the tags being the superset of
     * all calls.
     *
     * The behavior of setting the same key multiple times on the same span
     * is undefined.
     *
     * The supported type of the values is implementation-dependent.
     * Implementations are expected to safely handle all types of values but
     * may choose to ignore unrecognized / unhandle-able values (e.g. objects
     * with cyclic references, function objects).
     *
     * @return {[type]} [description]
     */
Adds the given key value pairs to the set of span tags.
Multiple calls to addTags() results in the tags being the superset of
all calls.

The behavior of setting the same key multiple times on the same span
is undefined.

The supported type of the values is implementation-dependent.
Implementations are expected to safely handle all types of values but
may choose to ignore unrecognized / unhandle-able values .

@return {[type]} [description]
Adds the given key value pairs to the set of span tags . Multiple calls to addTags () results in the tags being the superset of all calls . The behavior of setting the same key multiple times on the same span is undefined . The supported type of the values is implementation - dependent . Implementations are expected to safely handle all types of values but may choose to ignore unrecognized / unhandle - able values . @return { [ type ] } [ description ]
addTags(keyValueMap) {
        if (process.env.NODE_ENV === 'debug') {
            if (arguments.length !== 1) {
                throw new Error('Invalid number of arguments');
            }
            if (typeof keyValueMap !== 'object') {
                throw new Error('Invalid argument type');
            }
        }
        this._addTags(keyValueMap);
        return this;
    }
addTags ( keyValueMap ) { if ( process . env . NODE_ENV === 'debug' ) { if ( arguments . length !== 1 ) { throw new Error ( 'Invalid number of arguments' ) ; } if ( typeof keyValueMap !== 'object' ) { throw new Error ( 'Invalid argument type' ) ; } } this . _addTags ( keyValueMap ) ; return this ; }
Adds the given key value pairs to the set of span tags.
Adds the given key value pairs to the set of span tags .
// Debug-only runtime checks on the arguments