123456789101112131415161718 |
- 'use strict';
- var format = require('./format');
- module.exports = format(function (info, opts) {
- if (opts.message) {
- info.message = "[".concat(opts.label, "] ").concat(info.message);
- return info;
- }
- info.label = opts.label;
- return info;
- });
|