fancy-log

WebJar for fancy-log

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

fancy-log
Last Version

Last Version

1.3.3
Release Date

Release Date

Type

Type

jar
Description

Description

fancy-log
WebJar for fancy-log
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/gulpjs/fancy-log

Download fancy-log

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/fancy-log/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>fancy-log</artifactId>
    <version>1.3.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/fancy-log/
implementation 'org.webjars.npm:fancy-log:1.3.3'
// https://jarcasting.com/artifacts/org.webjars.npm/fancy-log/
implementation ("org.webjars.npm:fancy-log:1.3.3")
'org.webjars.npm:fancy-log:jar:1.3.3'
<dependency org="org.webjars.npm" name="fancy-log" rev="1.3.3">
  <artifact name="fancy-log" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='fancy-log', version='1.3.3')
)
libraryDependencies += "org.webjars.npm" % "fancy-log" % "1.3.3"
[org.webjars.npm/fancy-log "1.3.3"]

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.npm : ansi-gray jar [0.1.1,0.2)
org.webjars.npm : color-support jar [1.1.3,2)
org.webjars.npm : parse-node-version jar [1.0.0,2)
org.webjars.npm : time-stamp jar [1.0.0,2)

Project Modules

There are no modules declared in this project.

fancy-log

NPM version Downloads Travis Build Status AppVeyor Build Status Coveralls Status Gitter chat

Log things, prefixed with a timestamp.

Usage

var log = require('fancy-log');

log('a message');
// [16:27:02] a message

log.error('oh no!');
// [16:27:02] oh no!

API

log(msg...)

Logs the message as if you called console.log but prefixes the output with the current time in HH:MM:ss format.

log.error(msg...)

Logs the message as if you called console.error but prefixes the output with the current time in HH:MM:ss format.

log.warn(msg...)

Logs the message as if you called console.warn but prefixes the output with the current time in HH:MM:ss format.

log.info(msg...)

Logs the message as if you called console.info but prefixes the output with the current time in HH:MM:ss format.

log.dir(msg...)

Logs the message as if you called console.dir but prefixes the output with the current time in HH:MM:ss format.

License

MIT

org.webjars.npm

gulp

A toolkit to automate & enhance your workflow

Versions

Version
1.3.3
1.3.2
1.1.0