Initial import with skill sheet working
This commit is contained in:
22
node_modules/gulplog/LICENSE
generated
vendored
Normal file
22
node_modules/gulplog/LICENSE
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015, 2017, 2022 Blaine Bublitz <blaine.bublitz@gmail.com> and Eric Schoffstall <yo@contra.io>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
91
node_modules/gulplog/README.md
generated
vendored
Normal file
91
node_modules/gulplog/README.md
generated
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
<p align="center">
|
||||
<a href="https://gulpjs.com">
|
||||
<img height="257" width="114" src="https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
# gulplog
|
||||
|
||||
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]
|
||||
|
||||
Logger for gulp and gulp plugins
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var logger = require('gulplog');
|
||||
|
||||
// logs strings
|
||||
logger.debug('The MOST verbose!');
|
||||
logger.info('Some important info');
|
||||
logger.warn('All the warnings to you');
|
||||
logger.error('OH NO! SOMETHING HAPPENED!');
|
||||
|
||||
// supports util.format!
|
||||
logger.info('%s style!', 'printf');
|
||||
|
||||
// log anything
|
||||
logger.debug({ my: 'obj' });
|
||||
logger.info([1, 2, 3]);
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
Logging (and level of logging) is controlled by [`gulp-cli`][gulp-cli-url]
|
||||
|
||||
#### logger.debug(msg, ...args)
|
||||
|
||||
Highest log level. Typically used for debugging purposes.
|
||||
|
||||
If the first argument is a string, all arguments are passed to node's
|
||||
[`util.format()`][util-format-url] before being emitted.
|
||||
|
||||
If the first argument is not a string, all arguments will be emitted directly.
|
||||
|
||||
#### logger.info(msg, ...args)
|
||||
|
||||
Standard log level. Typically used for user information.
|
||||
|
||||
If the first argument is a string, all arguments are passed to node's
|
||||
[`util.format()`][util-format-url] before being emitted.
|
||||
|
||||
If the first argument is not a string, all arguments will be emitted directly.
|
||||
|
||||
#### logger.warn(msg, ...args)
|
||||
|
||||
Warning log level. Typically used for warnings.
|
||||
|
||||
If the first argument is a string, all arguments are passed to node's
|
||||
[`util.format()`][util-format-url] before being emitted.
|
||||
|
||||
If the first argument is not a string, all arguments will be emitted directly.
|
||||
|
||||
#### logger.error(msg, ...args)
|
||||
|
||||
Error log level. Typically used when things went horribly wrong.
|
||||
|
||||
If the first argument is a string, all arguments are passed to node's
|
||||
[`util.format()`][util-format-url] before being emitted.
|
||||
|
||||
If the first argument is not a string, all arguments will be emitted directly.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
[downloads-image]: https://img.shields.io/npm/dm/gulplog.svg?style=flat-square
|
||||
[npm-url]: https://npmjs.org/package/gulplog
|
||||
[npm-image]: https://img.shields.io/npm/v/gulplog.svg?style=flat-square
|
||||
|
||||
[ci-url]: https://github.com/gulpjs/gulplog/actions?query=workflow:dev
|
||||
[ci-image]: https://img.shields.io/github/actions/workflow/status/gulpjs/gulplog/dev.yml?branch=master&style=flat-square
|
||||
|
||||
[coveralls-url]: https://coveralls.io/r/gulpjs/gulplog
|
||||
[coveralls-image]: https://img.shields.io/coveralls/gulpjs/gulplog/master.svg?style=flat-square
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
[gulp-cli-url]: https://github.com/gulpjs/gulp-cli
|
||||
[util-format-url]: https://nodejs.org/docs/latest/api/util.html#util_util_format_format
|
||||
<!-- prettier-ignore-end -->
|
44
node_modules/gulplog/index.d.ts
generated
vendored
Normal file
44
node_modules/gulplog/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
/**
|
||||
* Highest log level. Typically used for debugging purposes.
|
||||
*
|
||||
* If the first argument is a string, all arguments are passed to node's util.format() before being emitted.
|
||||
*
|
||||
* If the first argument is not a string, all arguments will be emitted directly.
|
||||
*
|
||||
* @param msg Message to log
|
||||
* @param args Additional arguments
|
||||
*/
|
||||
export function debug(msg: any, ...args: any[]): void;
|
||||
/**
|
||||
* Standard log level. Typically used for user information.
|
||||
*
|
||||
* If the first argument is a string, all arguments are passed to node's util.format() before being emitted.
|
||||
*
|
||||
* If the first argument is not a string, all arguments will be emitted directly.
|
||||
*
|
||||
* @param msg Message to log
|
||||
* @param args Additional arguments
|
||||
*/
|
||||
export function info(msg: any, ...args: any[]): void;
|
||||
/**
|
||||
* Warning log level. Typically used for warnings.
|
||||
*
|
||||
* If the first argument is a string, all arguments are passed to node's util.format() before being emitted.
|
||||
*
|
||||
* If the first argument is not a string, all arguments will be emitted directly.
|
||||
*
|
||||
* @param msg Message to log
|
||||
* @param args Additional arguments
|
||||
*/
|
||||
export function warn(msg: any, ...args: any[]): void;
|
||||
/**
|
||||
* Error log level. Typically used when things went horribly wrong.
|
||||
*
|
||||
* If the first argument is a string, all arguments are passed to node's util.format() before being emitted.
|
||||
*
|
||||
* If the first argument is not a string, all arguments will be emitted directly.
|
||||
*
|
||||
* @param msg Message to log
|
||||
* @param args Additional arguments
|
||||
*/
|
||||
export function error(msg: any, ...args: any[]): void;
|
7
node_modules/gulplog/index.js
generated
vendored
Normal file
7
node_modules/gulplog/index.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
var getLogger = require('glogg');
|
||||
|
||||
var logger = getLogger('gulplog');
|
||||
|
||||
module.exports = logger;
|
51
node_modules/gulplog/package.json
generated
vendored
Normal file
51
node_modules/gulplog/package.json
generated
vendored
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
"name": "gulplog",
|
||||
"version": "2.2.0",
|
||||
"description": "Logger for gulp and gulp plugins",
|
||||
"author": "Gulp Team <team@gulpjs.com> (http://gulpjs.com/)",
|
||||
"contributors": [
|
||||
"Blaine Bublitz <blaine.bublitz@gmail.com>"
|
||||
],
|
||||
"repository": "gulpjs/gulplog",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 10.13.0"
|
||||
},
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"pretest": "npm run lint",
|
||||
"test": "nyc mocha --async-only"
|
||||
},
|
||||
"dependencies": {
|
||||
"glogg": "^2.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-gulp": "^5.0.1",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"expect": "^27.3.1",
|
||||
"mocha": "^8.4.0",
|
||||
"nyc": "^15.1.0"
|
||||
},
|
||||
"nyc": {
|
||||
"reporter": [
|
||||
"lcov",
|
||||
"text-summary"
|
||||
]
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true
|
||||
},
|
||||
"keywords": [
|
||||
"gulp",
|
||||
"log",
|
||||
"logging"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user