0.0
No commit activity in last 3 years
No release in over 3 years
Custom logging for VidaZing.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 10.0.2
= 0.8.22
= 2.12.0
= 4.6.2
= 1.7.0
= 0.10.4
= 3.6.0
= 1.4.5
= 3.0.0
= 12.3.1
= 3.8.0
= 0.58.2
= 0.16.1
= 3.2.8
= 0.9.16

Runtime

= 2.2.2
 Project Readme

logger-gem Gem Version

Build Status Inline docs Coverage Status

VidaZing logging strategy using TwP/logging.

Writes to rolling log files and the corresponding IO pipe.

  • timestamps for: logs/error.log + stderr.
  • timestamps for: logs/build.log + stdout.
  1. Installation
  2. Usage

Installation

  1. In your Gemfile, add the vidazing_logger gem:

    gem 'vidazing_logger', '~> 0.2'
  2. In your shell, run:

    bundle install
  3. (Optional - If you want to use the rake loop: tasks) Install fswatch

  4. (Optional - If you use pry) Ran into a byebug issue that you can fix with:

    gem install byebug
    gem install pry-byebug

Usage

See rake -T

Gem

require 'vidazing_logger'

# Easy
optional_name = "DearDiary"
optional_log_dir = 'logs'
logger = VidazingLogger.logger(optional_name, optional_log_dir)

# Customized. See VidazingLogger::Logger#build
LoggerBuilder.build(name: @name) do |builder|
  builder
    .add_stdout
    .add_build_log(log_dir: @log_dir)
    .add_stderr
    .add_error_log(log_dir: @log_dir)
end

Binary

vidazing_logger for all your stand alone shell logging needs. We should probably let you disable the logs/ file logging... Moving along! 0.2.1 defaults to logging to STDERR / STDOUT. See --help.

Install with gem install vidazing_logger

See vidazing_logger --help

Under the hood

Logging gem docs

Considering

Timber