Project

palta

0.0
No commit activity in last 3 years
No release in over 3 years
Simple server for simple (remote) logging
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

Palta

Build Status

Simple server for simple (remote) logging. Right now it's just an experimental work in progress.

It receives messages and triggers actions.

The criteria should be fully customizable and it should be able to work via TCP and UDP (HTTP too?).

Planned Usage

It's planned, it means not implemented. ;*

require "palta"

server = Palta::Server.new

server.actions do

  def on_info msg
    puts "relax: #{msg}"
  end

  def on_warning msg
    puts "just saying: #{msg}"
  end

  def on_error msg
    puts "oops: #{msg}"
  end

end

server.start