How to use hexo-log - 1 common examples

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 9 months ago

Package Health Score

69 / 100
Full package analysis

Popular hexo-log functions