pax_global_header00006660000000000000000000000064126014240450014510gustar00rootroot0000000000000052 comment=c920ad89da5a8f3724d35c83b6cbd8e132dada2b gulplog-1.0.0/000077500000000000000000000000001260142404500131575ustar00rootroot00000000000000gulplog-1.0.0/.editorconfig000066400000000000000000000003261260142404500156350ustar00rootroot00000000000000# http://editorconfig.org root = true [*] indent_style = space indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true [*.md] trim_trailing_whitespace = false gulplog-1.0.0/.eslintrc000066400000000000000000000000441260142404500150010ustar00rootroot00000000000000{ "extends": "node-style-guide" } gulplog-1.0.0/.gitignore000066400000000000000000000012511260142404500151460ustar00rootroot00000000000000# Logs logs *.log # Runtime data pids *.pid *.seed # Directory for instrumented libs generated by jscoverage/JSCover lib-cov # Coverage directory used by tools like istanbul coverage # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) .grunt # Compiled binary addons (http://nodejs.org/api/addons.html) build/Release # Dependency directory # Commenting this out is preferred by some people, see # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git- node_modules # Users Environment Variables .lock-wscript # Garbage files .DS_Store *.node *.orig /gulp.1 /.idea /build /components /coverage /sandbox gulplog-1.0.0/.jscsrc000066400000000000000000000001001260142404500144360ustar00rootroot00000000000000{ "preset": "node-style-guide", "maximumLineLength": null } gulplog-1.0.0/.travis.yml000066400000000000000000000001051260142404500152640ustar00rootroot00000000000000sudo: false language: node_js node_js: - '4' - '0.12' - '0.10' gulplog-1.0.0/CHANGELOG.md000066400000000000000000000001771260142404500147750ustar00rootroot00000000000000# gulplog changelog ## 1.0.0 - Initial release - No implementation changed since initial commit ## 0.0.0 - Experimentation gulplog-1.0.0/CONTRIBUTING.md000066400000000000000000000072361260142404500154200ustar00rootroot00000000000000# Request for contributions Please contribute to this repository if any of the following is true: - You have expertise in community development, communication, or education - You want open source communities to be more collaborative and inclusive - You want to help lower the burden to first time contributors # How to contribute Prerequisites: - familiarity with [GitHub PRs](https://help.github.com/articles/using-pull-requests) (pull requests) and issues - knowledge of Markdown for editing `.md` documents In particular, this community seeks the following types of contributions: - ideas: participate in an Issues thread or start your own to have your voice heard - resources: submit a PR to add to [docs README.md](/docs/README.md) with links to related content - outline sections: help us ensure that this repository is comprehensive. if there is a topic that is overlooked, please add it, even if it is just a stub in the form of a header and single sentence. Initially, most things fall into this category - write: contribute your expertise in an area by helping us expand the included content - copy editing: fix typos, clarify language, and generally improve the quality of the content - formatting: help keep content easy to read with consistent formatting - code: Fix issues or contribute new features to this or any related projects # Conduct We are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, disability, ethnicity, religion, or similar personal characteristic. On IRC, please avoid using overtly sexual nicknames or other nicknames that might detract from a friendly, safe and welcoming environment for all. Please be kind and courteous. There's no need to be mean or rude. Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a right answer, merely an optimal answer given a set of values and circumstances. Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works. We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behavior. We interpret the term "harassment" as including the definition in the [Citizen Code of Conduct](http://citizencodeofconduct.org/); if you have any lack of clarity about what might be included in that concept, please read their definition. In particular, we don't tolerate behavior that excludes people in socially marginalized groups. Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please contact one of the channel ops or any of the [gulpjs](https://github.com/orgs/gulpjs/people) core team immediately. Whether you're a regular contributor or a newcomer, we care about making this community a safe place for you and we've got your back. Likewise any spamming, trolling, flaming, baiting or other attention-stealing behavior is not welcome. # Communication There is an IRC channel on irc.freenode.net, channel `#gulpjs`. You're welcome to drop in and ask questions, discuss bugs and such. The channel is not currently logged. GitHub issues are the primary way for communicating about specific proposed changes to this project. In both contexts, please follow the conduct guidelines above. Language issues are often contentious and we'd like to keep discussion brief, civil and focused on what we're actually doing, not wandering off into too much imaginary stuff. # Frequently Asked Questions See [the FAQ docs page](https://github.com/gulpjs/gulp/blob/master/docs/FAQ.md) gulplog-1.0.0/LICENSE000066400000000000000000000021431260142404500141640ustar00rootroot00000000000000The MIT License (MIT) Copyright (c) 2015 Blaine Bublitz, Eric Schoffstall and other contributors 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. gulplog-1.0.0/README.md000066400000000000000000000042301260142404500144350ustar00rootroot00000000000000

# gulplog [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Gitter chat][gitter-image]][gitter-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) 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. #### logger.info(msg) 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. #### logger.warn(msg) 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. #### logger.error(msg) 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. ## License MIT [downloads-image]: http://img.shields.io/npm/dm/gulplog.svg [npm-url]: https://npmjs.org/package/gulplog [npm-image]: http://img.shields.io/npm/v/gulplog.svg [travis-url]: https://travis-ci.org/gulpjs/gulplog [travis-image]: http://img.shields.io/travis/gulpjs/gulplog.svg [gitter-url]: https://gitter.im/gulpjs/gulp [gitter-image]: https://badges.gitter.im/gulpjs/gulp.png [gulp-cli-url]: https://github.com/gulpjs/gulp-cli [util-format-url]: https://nodejs.org/docs/latest/api/util.html#util_util_format_format gulplog-1.0.0/index.js000066400000000000000000000001571260142404500146270ustar00rootroot00000000000000'use strict'; var getLogger = require('glogg'); var logger = getLogger('gulplog'); module.exports = logger; gulplog-1.0.0/package.json000066400000000000000000000012351260142404500154460ustar00rootroot00000000000000{ "name": "gulplog", "version": "1.0.0", "description": "Logger for gulp and gulp plugins", "author": "Blaine Bublitz (http://iceddev.com)", "contributors": [], "repository": "gulpjs/gulplog", "license": "MIT", "engines": { "node": ">= 0.10" }, "main": "index.js", "files": [ "LICENSE", "index.js" ], "scripts": { "test": "eslint index.js && jscs index.js" }, "dependencies": { "glogg": "^1.0.0" }, "devDependencies": { "eslint": "^1.5.1", "eslint-config-node-style-guide": "^1.0.1", "jscs": "^2.1.1" }, "keywords": [ "gulp", "gulp-util", "log", "logging" ] }