云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
hexo
/
hexo-blog
/
node_modules
/
hexo-log
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
dist
2024-01-09 18:36:01
8.45 KB
LICENSE
2023-11-13 01:33:43
1.03 KB
package.json
2023-11-13 01:33:43
1.29 KB
README.md
2023-11-13 01:33:43
1.02 KB
# hexo-log [](https://github.com/hexojs/hexo-log/actions?query=workflow%3ATester) [](https://www.npmjs.com/package/hexo-log) [](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
2025-08-29 16:32:55 Friday 216.73.216.167 Runningtime:0.028s Mem:1.47 MB