🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

hexo-log

Package Overview
Dependencies
Maintainers
8
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-log

Logger for Hexo

latest
Source
npmnpm
Version
4.1.0
Version published
Weekly downloads
37K
9.09%
Maintainers
8
Weekly downloads
 
Created
Source

hexo-log

Build Status NPM version Coverage Status

Logger for Hexo.

Installation

$ npm install hexo-log --save

Usage

// v3.x.x
const log = require('hexo-log')({
  debug: false,
  silent: false
});
log.info('Hello world');

// v4.x.x
const log = require('hexo-log').default({
  debug: false,
  silent: false
});
log.info('Hello world');

// v4.x.x (ES Module)
import { logger } from 'hexo-log';

const log = logger({
  debug: false,
  silent: false
});
log.info('Hello world');
OptionDescriptionDefault
debugDisplay debug message.false
silentDon't display any message in console.false

License

MIT

Keywords

website

FAQs

Package last updated on 25 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts