summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2022-11-30 14:26:19 +0000
committertaca <taca@pkgsrc.org>2022-11-30 14:26:19 +0000
commit972b642020ed393609fcb433c9d67f6be4511e62 (patch)
treeb664fc983f816a7d545f6cc994ac1e31be43ccf2 /devel
parent53fa1bbf367683b5ad079068114704f5355369a0 (diff)
downloadpkgsrc-972b642020ed393609fcb433c9d67f6be4511e62.tar.gz
devel/ruby-tty-logger: add pacakge version 0.6.0
This package is required by new ruby-review package. TTY::Logger > A readable, structured and beautiful logging for the terminal TTY::Logger provides independent logging component for TTY toolkit. ## Features * Intuitive console output for an increased readability * Ability to stream data to any IO object * Supports structured data logging * Filters sensitive data * Allows to define custom log types * Formats and truncates messages to avoid clogging logging output * Customizable styling of labels and symbols for console output * Includes metadata information: time, location, scope * Handles multiple logging outputs
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-tty-logger/DESCR17
-rw-r--r--devel/ruby-tty-logger/Makefile16
-rw-r--r--devel/ruby-tty-logger/PLIST19
-rw-r--r--devel/ruby-tty-logger/distinfo5
4 files changed, 57 insertions, 0 deletions
diff --git a/devel/ruby-tty-logger/DESCR b/devel/ruby-tty-logger/DESCR
new file mode 100644
index 00000000000..9baa05a1db9
--- /dev/null
+++ b/devel/ruby-tty-logger/DESCR
@@ -0,0 +1,17 @@
+TTY::Logger
+
+> A readable, structured and beautiful logging for the terminal
+
+TTY::Logger provides independent logging component for TTY toolkit.
+
+## Features
+
+* Intuitive console output for an increased readability
+* Ability to stream data to any IO object
+* Supports structured data logging
+* Filters sensitive data
+* Allows to define custom log types
+* Formats and truncates messages to avoid clogging logging output
+* Customizable styling of labels and symbols for console output
+* Includes metadata information: time, location, scope
+* Handles multiple logging outputs
diff --git a/devel/ruby-tty-logger/Makefile b/devel/ruby-tty-logger/Makefile
new file mode 100644
index 00000000000..592d030be24
--- /dev/null
+++ b/devel/ruby-tty-logger/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2022/11/30 14:26:19 taca Exp $
+
+DISTNAME= tty-logger-0.6.0
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://ttytoolkit.org/
+COMMENT= Readable, structured and beautiful terminal logging
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-pastel>=0.8<1:../../devel/ruby-pastel
+
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-tty-logger/PLIST b/devel/ruby-tty-logger/PLIST
new file mode 100644
index 00000000000..6e11fd8289e
--- /dev/null
+++ b/devel/ruby-tty-logger/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/11/30 14:26:19 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/LICENSE.txt
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/lib/tty-logger.rb
+${GEM_LIBDIR}/lib/tty/logger.rb
+${GEM_LIBDIR}/lib/tty/logger/config.rb
+${GEM_LIBDIR}/lib/tty/logger/data_filter.rb
+${GEM_LIBDIR}/lib/tty/logger/event.rb
+${GEM_LIBDIR}/lib/tty/logger/formatters/json.rb
+${GEM_LIBDIR}/lib/tty/logger/formatters/text.rb
+${GEM_LIBDIR}/lib/tty/logger/handlers/base.rb
+${GEM_LIBDIR}/lib/tty/logger/handlers/console.rb
+${GEM_LIBDIR}/lib/tty/logger/handlers/null.rb
+${GEM_LIBDIR}/lib/tty/logger/handlers/stream.rb
+${GEM_LIBDIR}/lib/tty/logger/levels.rb
+${GEM_LIBDIR}/lib/tty/logger/version.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/devel/ruby-tty-logger/distinfo b/devel/ruby-tty-logger/distinfo
new file mode 100644
index 00000000000..c82c4d0d5f0
--- /dev/null
+++ b/devel/ruby-tty-logger/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/11/30 14:26:19 taca Exp $
+
+BLAKE2s (tty-logger-0.6.0.gem) = ab66bfea4e8779521200d258aa26f1815f97a9148560403996c79b66e6827bbd
+SHA512 (tty-logger-0.6.0.gem) = 83727cff71b83f13b5ee484fbcd70ffa3eefdc130c7e052888ced423eed31c89d9335c30b37be46d2390b52d018b74ca1848347625ac4e025fd7781bea0211c2
+Size (tty-logger-0.6.0.gem) = 20992 bytes