UNPKG

@sentry/cli

Version:

A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/

15 lines (11 loc) 253 B
'use strict'; const format = require('util').format; module.exports = class Logger { constructor(stream) { this.stream = stream; } log() { const message = format(...arguments); this.stream.write(`[sentry-cli] ${message}\n`); } };