Shard Detail

placeos-log-backend v0.5.1

Log backend in use across PlaceOS services

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development


placeos-log-backend:
  github: place-labs/log-backend

Readme

PlaceOS Log Backend

Logging backend in common use across PlaceOS services.

A UDP stream will be opened to a log server if UDP_LOG_HOST and UDP_LOG_PORT are in the environment.

Usage

require "placeos-log-backend"
Log.setup "*", :warn, PlaceOS::LogBackend.log_backend

Contributors