How to use the verbose function from winston

Find comprehensive JavaScript winston.verbose code examples handpicked from public code repositorys.

135
136
137
138
139
140
141
142
143
144
                    content.slice(
                        current.index + regex.length + current[1].length
                    );
            }
        } catch (err) {
            winston.verbose(err.messsage);
        }
    }
    current = regex.regex.exec(content);
}
fork icon0
star icon1
watch icon5

+ 12 other calls in file

54
55
56
57
58
59
60
61
62
63
// DEPRECATED: @1.15.0, remove in version >=1.17
// for backwards compatibility
// if that fails, fall back to `pluginData.library`
if (pluginData.library) {
    winston.warn(`   [plugins/${pluginData.id}] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead.`);
    winston.verbose(`[plugins/${pluginData.id}] See https://github.com/NodeBB/NodeBB/issues/8686`);

    libraryPath = path.join(pluginData.path, pluginData.library);
    Plugins.libraries[pluginData.id] = require(libraryPath);
} else {
fork icon0
star icon0
watch icon1

+ 50 other calls in file

87
88
89
90
91
92
93
94
95
96
97
98
99


        const host = nconf.get(`${nconf.get('database')}:host`);
        const storeLocation = host ? `at ${host}${!host.includes('/') ? `:${nconf.get(`${nconf.get('database')}:port`)}` : ''}` : '';


        winston.verbose('* using %s store %s', nconf.get('database'), storeLocation);
        winston.verbose('* using themes stored in: %s', nconf.get('themes_path'));
    }
}


function addProcessHandlers() {
fork icon0
star icon0
watch icon1

+ 25 other calls in file

24
25
26
27
28
29
30
31
32
33
    return maxThreads;
},
set: function (val) {
    maxThreads = val;
    if (!process.env.minifier_child) {
        winston.verbose(`[minifier] utilizing a maximum of ${maxThreads} additional threads`);
    }
},
configurable: true,
enumerable: true,
fork icon0
star icon0
watch icon1

+ 3 other calls in file

100
101
102
103
104
105
106
107
108
109
    if (req.type !== name) {
        throw new Error("Request type in token mismatch.");
    }
    clientDisplayConfigList[socket.id] = req.displayConfig;
    const taskId = req.taskId;
    if (debug) winston.verbose(`A client trying to join ${name} namespace for ${taskId}.`);
    socket.join(taskId.toString());
    exec(req, socket).then(x => cb(x), err => cb({ ok: false, message: err.toString() }));
}
catch (err) {
fork icon0
star icon0
watch icon1