All Projects → arcao → Syslog

arcao / Syslog

Licence: MIT license
An Arduino library for logging to Syslog server in IETF format (RFC 5424) and BSD format (RFC 3164)

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to Syslog

mpu6050
MPU6050 Arduino Library
Stars: ✭ 141 (+34.29%)
Mutual labels:  arduino-library, arduino-uno
Arduino
🚀 Proyectos de todo tipo para arduino utilizando sus sensores y actuadores. 🤖
Stars: ✭ 27 (-74.29%)
Mutual labels:  arduino-library, arduino-uno
PsxNewLib
Playstation controller interface library for Arduino
Stars: ✭ 81 (-22.86%)
Mutual labels:  arduino-library, arduino-uno
qp-arduino
QP real-time embedded frameworks/RTOS for Arduino (AVR and SAM)
Stars: ✭ 37 (-64.76%)
Mutual labels:  arduino-library, arduino-uno
discord-arduino-bot
Easy to discord control your arduino with commands
Stars: ✭ 13 (-87.62%)
Mutual labels:  arduino-library, arduino-uno
NASSCOM-MHRD-IOT-Practical-Module 1-2
Arduino on TinkerCad
Stars: ✭ 26 (-75.24%)
Mutual labels:  arduino-library, arduino-uno
sqlite micro logger arduino
Fast and Lean Sqlite database logger for Microcontrollers
Stars: ✭ 128 (+21.9%)
Mutual labels:  arduino-library, arduino-uno
EthernetENC
Ethernet library for ENC28J60. This is a modern version of the UIPEthernet library. EthernetENC library is compatible with all Arduino architectures with Arduino SPI library with transactions support. Only include EthernetENC.h instead of Ethernet.h
Stars: ✭ 58 (-44.76%)
Mutual labels:  arduino-library, arduino-ethernet
Sim800L-Arduino-Library-revised
HIGH SCHOOL PROJECT - The purpose of this Arduino library is to allow the use of the SIM800L module in a simple and transparent way.
Stars: ✭ 81 (-22.86%)
Mutual labels:  arduino-library, arduino-uno
Quicklogger
Library for logging on files, console, memory, email, rest, eventlog, syslog, slack, telegram, redis, logstash, elasticsearch, influxdb, graylog, Sentry, Twilio, ide debug messages and throw events for Delphi/Firemonkey/freepascal/.NET (Windows/Linux/OSX/IOS/Android).
Stars: ✭ 137 (+30.48%)
Mutual labels:  syslog
G-Code-Arduino-Library
Allows any machines and robots to be controlled by G-Code
Stars: ✭ 44 (-58.1%)
Mutual labels:  arduino-library
Captainslog
A Syslog Protocol Parser
Stars: ✭ 130 (+23.81%)
Mutual labels:  syslog
Go Logger
一个简单而强大的 golang 日志工具包,支持同步和异步输出到 命令行,文件, api 接口,文件支持按文件大小,文件行数,日期切分;A simple and powerful golang logging toolkit that supports synchronous and asynchronous output to the console, file, API interfaces, file support by file size, file line number, date sharding.
Stars: ✭ 152 (+44.76%)
Mutual labels:  syslog
MCP79412RTC
Arduino library for the Microchip MCP79411/12 Real-Time Clock/Calendar
Stars: ✭ 20 (-80.95%)
Mutual labels:  arduino-library
Documentation
Stars: ✭ 133 (+26.67%)
Mutual labels:  syslog
SparkFun ATECCX08a Arduino Library
An Arduino library to use with the Microchip ATECCX08a Cryptographic Co-processors.
Stars: ✭ 26 (-75.24%)
Mutual labels:  arduino-library
Docker Logger
Logs collector for docker
Stars: ✭ 126 (+20%)
Mutual labels:  syslog
Syslogparser
A Syslog parser for the Go programming language
Stars: ✭ 113 (+7.62%)
Mutual labels:  syslog
NLog.Targets.Syslog
A Syslog server target for NLog
Stars: ✭ 63 (-40%)
Mutual labels:  syslog
DFPlayerMini Fast
Fast and easy to understand Arduino library to use the DFPlayer Mini MP3 module from DFRobot.com. This is a huge improvement (both in terms of execution speed and simplicity) to the standard library provided by DFRobot.com.
Stars: ✭ 164 (+56.19%)
Mutual labels:  arduino-library

Syslog

An Arduino library for logging to Syslog server via UDP protocol in IETF (RFC 5424) and BSD (RFC 3164) message format

Build Status Join the chat at https://gitter.im/arcao/Syslog

How to use, see examples.

Features

  • Supports original Syslog severity level and facility constants
  • Supports both Syslog messge formats: IETF (RFC 5424) and BSD (RFC 3164)
  • Supports printf-like formatting via logf methods (use vsnprintf method inside)
  • Supports fluent interface, see AdvancedLogging example
  • Allows to ignore sending specified severity levels with logMask function, see AdvancedLogging example
  • Independent on underlying network hardware. The network hardware library has to implement methods of UDP astract class only.

Compatible Hardware

The library uses the Arduino UDP Network API (UDP class) for interacting with the underlying network hardware. This means it Just Works with a growing number of boards and shields, including:

  • ESP8266 / ESP32
  • Arduino Ethernet
  • Arduino Ethernet Shield
  • Arduino YUN – use the included BridgeUDP in place of EthernetUDP, and be sure to call a Bridge.begin() first
  • Arduino WiFi Shield
  • Intel Galileo/Edison
  • Arduino/Genuino MKR1000
  • Arduino module RTL00(RTL8710AF), F11AMIM13 (RTL8711AM)
  • ... you tell me!

Syslog message formats

This library supports both Syslog message formats IETF (RFC 5424) and BSD (RFC 3164). The newer IETF format is used by default. If you want to use older "obsolete" BSD format, just specify it with SYSLOG_PROTO_BSD constant in a last constructor parameter.

Syslog syslog(udpClient, host, port, device_hostname, app_name, default_priority, SYSLOG_PROTO_BSD);
// or
Syslog syslog(udpClient, ip, port, device_hostname, app_name, default_priority, SYSLOG_PROTO_BSD);
// or
Syslog syslog(udpClient, SYSLOG_PROTO_BSD);

Limitations

  • This library is sending empty timestamp in the syslog messages. For IETF format it is NILVALUE (char -) in TIMESTAMP field, for BSD format the TIMESTAMP field is completely ommited. Syslog server should use a time of receiving message in this case. It is OK in most cases. This issue will be fixed in some of the next releases.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].