GitShow/tj/jog
tj

jog

JSON document logging & filtering inspired by loggly for node.js

by tj
Star on GitHubForkWebsitenpm

JavaScript

130 stars10 forks6 contributorsQuiet · 13y agoSince 2012

Meet the team

See all 6 on GitHub →
tj
tj71 contributions
cpsubrian
cpsubrian2 contributions
danmilon
danmilon2 contributions
alessioalex
alessioalex1 contribution
jfhbrook
jfhbrook1 contribution
TooTallNate
TooTallNate1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 3 in progress · Last activity 13y ago
See all on GitHub →
danmilon
respect log levelOpenPR

see #19 also. If the changes are ok, I'll add docs. Let me know what you think.

danmilon · 12y ago
cpsubrian
FormattersOpenPR

Introduces the concept of 'formatters' and ALL CLI output runs through a formatter. A formatter is merely a commonjs module that exports an object. The object should follow the following signature: Formatters can live in three possible locations: This allows someone to maintain formatters that they like to use on either a per-machine, or per-project basis. Awesome! Also, the formatters are loaded in that order, so project formatters can override machine ones, or core ones. Four core formatters are included: json color short default You use the formatters via the command-line option. is aliased to is aliased to I think this is a really flexible approach. For example you could create a formatter that saves images, or a formatter that renders a CLI bar chart, or whatever.

cpsubrian · 12y ago
cpsubrian
Adds StdStore.OpenPR

Adds support for stdin and stdout. Uses StdStore as the default when no store is provided. Allows you do do something like: And then run it like: OR OR You get the picture :)

cpsubrian · 12y ago

Recent fixes

View closed PRs →
alexmingoia
Add 'levels' to options for 'log.stream()' to filter by array of log levelsMergedPR

Add 'levels' to options for 'log.stream()' to filter by array of log levels. Also updated documentation.

alexmingoia · 9y ago
alessioalex
Bug fix in FileStoreMergedPR

Fixed bug with undefined options var when stream() called with no param.

alessioalex · 13y ago
danmilon
Check for error instancesMergedPR

Picking up from the discussion at #6 (took me some time!) Checks if is an Error instance, and replaces it with the stacktrace as a string or the message if there is no stack attached. Also there's a test case.

danmilon · 13y ago
Structured data for AI agents

Repository: tj/jog. Description: JSON document logging & filtering inspired by loggly for node.js Stars: 130, Forks: 10. Primary language: JavaScript. Languages: JavaScript (100%). Homepage: http://visionmedia.github.com/jog Open PRs: 3, open issues: 6. Last activity: 13y ago. Community health: 28%. Top contributors: tj, cpsubrian, danmilon, alessioalex, jfhbrook, TooTallNate.

·@ofershap

Replace github.com with gitshow.dev