How to use the hexo-log.warn function in hexo-log

To help you get started, we’ve selected a few hexo-log examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ppoffice / hexo-theme-icarus / layout / common / plugins.jsx View on Github external
{Object.keys(plugins).map(name => {
                // plugin is not enabled
                if (!plugins[name]) {
                    return null;
                }
                try {
                    const Plugin = require('../plugin/' + name);
                    return ;
                } catch (e) {
                    logger.warn(`Icarus cannot load plugin "${name}"`);
                    return null;
                }
            })}
        ;

hexo-log

Logger for Hexo

MIT
Latest version published 1 year ago

Package Health Score

60 / 100
Full package analysis

Popular hexo-log functions