Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulplog

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulplog - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

32

index.d.ts

@@ -5,7 +5,9 @@ /**

* 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 Arguments to format message with via util.format()
* @param args Additional arguments
*/
export function debug(msg: string, ...args: any[]): void;
export function debug(msg: any): void;
export function debug(msg: any, ...args: any[]): void;
/**

@@ -15,7 +17,9 @@ * 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 Arguments to format message with via util.format()
* @param args Additional arguments
*/
export function info(msg: string, ...args: any[]): void;
export function info(msg: any): void;
export function info(msg: any, ...args: any[]): void;
/**

@@ -25,7 +29,9 @@ * 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 Arguments to format message with via util.format()
* @param args Additional arguments
*/
export function warn(msg: string, ...args: any[]): void;
export function warn(msg: any): void;
export function warn(msg: any, ...args: any[]): void;
/**

@@ -35,6 +41,8 @@ * 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 Arguments to format message with via util.format()
* @param args Additional arguments
*/
export function error(msg: string, ...args: any[]): void;
export function error(msg: any): void;
export function error(msg: any, ...args: any[]): void;
{
"name": "gulplog",
"version": "2.0.1",
"version": "2.1.0",
"description": "Logger for gulp and gulp plugins",

@@ -27,3 +27,3 @@ "author": "Gulp Team <team@gulpjs.com> (http://gulpjs.com/)",

"dependencies": {
"glogg": "^2.0.0"
"glogg": "^2.1.0"
},

@@ -30,0 +30,0 @@ "devDependencies": {

@@ -36,3 +36,3 @@ <p align="center">

#### logger.debug(msg)
#### logger.debug(msg, ...args)

@@ -44,4 +44,6 @@ Highest log level. Typically used for debugging purposes.

#### logger.info(msg)
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.

@@ -52,4 +54,6 @@

#### logger.warn(msg)
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.

@@ -60,4 +64,6 @@

#### logger.error(msg)
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.

@@ -68,2 +74,4 @@

If the first argument is not a string, all arguments will be emitted directly.
## License

@@ -79,3 +87,3 @@

[ci-url]: https://github.com/gulpjs/gulplog/actions?query=workflow:dev
[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/gulplog/dev?style=flat-square
[ci-image]: https://img.shields.io/github/actions/workflow/status/gulpjs/gulplog/dev.yml?branch=master&style=flat-square

@@ -82,0 +90,0 @@ [coveralls-url]: https://coveralls.io/r/gulpjs/gulplog

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc