Project

spspub_log

0.0
No commit activity in last 3 years
No release in over 3 years
Publishes log messages instead of logging them to file. #debug #debugging #trace
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.5, >= 0.5.5
 Project Readme

Introducing the spspub_log gem

require 'spspub_log'

sps = SPSPubLog.new host: '192.168.4.170'
sps.info 'ready'
sps.info 'example1: ready'

sps.debug 'RobotArm/elbow_move/error: supplied 2 arguments, expecting 1 argument'

Output (observed from an SPS subscriber to topic #):

Messages displayed in reverse chronological order:

MESSAGE: log/RobotArm/elbow_move/error/debug: supplied 2 arguments, expecting 1 argument
MESSAGE: log/example1/info: ready
MESSAGE: log/info: ready

Resources

spspublog sps pub log gem debug info