fancy-log

WebJar for fancy-log

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

fancy-log
Последняя версия

Последняя версия

1.3.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

fancy-log
WebJar for fancy-log
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать fancy-log

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
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)

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.3.3
1.3.2
1.1.0