# hexo-log

> Logger for Hexo

Latest version **4.1.0** (published 2023-07-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install hexo-log
pnpm add hexo-log
yarn add hexo-log
bun add hexo-log
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.1.0 |
| Published | 2023-07-25 |
| First published | 2016-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=14 |
| Dependencies | 1 |
| Unpacked size | 11.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Tommy Chen |
| Maintainers | ertrzyiks, abnerchou, tommy351, hexobot, jlhwung, tomap, curben, yoshinorin |
| Keywords | website, blog, cms, framework, hexo |

## Links

- npm: https://www.npmjs.com/package/hexo-log
- Repository: https://github.com/hexojs/hexo-log
- Homepage: https://hexo.io/
- Issues: https://github.com/hexojs/hexo-log/issues
- npm.io page: https://npm.io/package/hexo-log

## Dependencies (1)

- [picocolors](https://npm.io/package/picocolors.md) ^1.0.0

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 4.1.0 (latest) — 2023-07-25
- 4.0.1 — 2022-11-05
- 4.0.0 — 2022-11-03
- 3.2.0 — 2022-08-23
- 3.1.0 — 2022-08-09
- 3.0.0 — 2021-10-08
- 2.0.0 — 2020-07-02
- 1.0.0 — 2019-09-21
- 1.0.0-rc1 — 2019-08-10
- 0.2.0 — 2017-08-22
- 0.1.3 — 2017-06-02
- 0.1.2 — 2016-02-13
- 0.1.1 — 2016-02-10
- 0.1.0 — 2016-02-10

## README

# hexo-log

[![Build Status](https://github.com/hexojs/hexo-log/workflows/Tester/badge.svg?branch=master)](https://github.com/hexojs/hexo-log/actions?query=workflow%3ATester)
[![NPM version](https://badge.fury.io/js/hexo-log.svg)](https://www.npmjs.com/package/hexo-log)
[![Coverage Status](https://coveralls.io/repos/hexojs/hexo-log/badge.svg?branch=master)](https://coveralls.io/r/hexojs/hexo-log?branch=master)

Logger for Hexo.

## Installation

``` bash
$ npm install hexo-log --save
```

## Usage

``` js
// 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');
```

Option | Description | Default
--- | --- | ---
`debug` | Display debug message. | `false`
`silent` | Don't display any message in console. | `false`

## License

MIT

---
_Source: https://npm.io/package/hexo-log · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
