Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FunctionDescriptionPerl LoxBerry::LogPHP loxberry_log.phpMore information
Logging class (methods to a log object)
newConstructor for a new logging session

Status
colourGreen
titleAvailable



LOGSTART / LOGENDStarting and finishing the logging session

Status
colourGreen
titleAvailable



loglevelQueries and sets the loglevel

Status
colourGreen
titleAvailable



autoraiseOn a LOGCRIT log entry, auto-raises the loglevel to 6

Status
colourGreen
titleAvailable



filehandleLEGACY for LB <1.2.5 

Status
colourYellow
titledeprecated



filenameReturns the current filename

Status
colourGreen
titleAvailable



dbkeyReturns the current database key

Status
colourGreen
titleAvailable



addtimeAdds the current time to every logline

Status
colourGreen
titleAvailable



logtitleChanges the title of the log during logging

Status
colourGreen
titleAvailable



defaultOn multiple opened logs, set one log to the default logfile

Status
colourGreen
titleAvailable



Logfile handling functions
get_logsReturns an array with all logs, with filters by parameter

Status
colourGreen
titleAvailable



Notification functions
notifyCreates an info or error notification

Status
colourGreen
titleAvailable



notify_extCreates a notification with extended parameters

Status
colourGreen
titleAvailable



get_notificationsReturns an array with all notifications, selected by parameters

Status
colourGreen
titleAvailable



get_notification_countReturns the number of notifications, selected by parameters

Status
colourGreen
titleAvailable



delete_notificationsDeletes all notifications, selected by parameters

Status
colourGreen
titleAvailable



delete_notification_keyDeletes a specific notification by key

Status
colourGreen
titleAvailable



get_notifications_htmlReturns ready html+js for a list of notifications

Status
colourGreen
titleAvailable




LoxBerry::IO vs. loxberry_io.php

Functions to easily communicate to the Miniserver

FunctionDescriptionPerl LoxBerry::IOPHP loxberry_io.phpMore information
mshttp_sendSends values to Miniserver's HTTP REST API

Status
colourGreen
titleAvailable



mshttp_send_memSends values to Miniserver's HTTP REST API, using caching

Status
colourGreen
titleAvailable



mshttp_getReads values from Miniservers HTTP REST API

Status
colourGreen
titleAvailable



mshttp_callRaw function to send or read data via HTTP REST API

Status
colourGreen
titleAvailable



msudp_sendSends values via UDP to the Miniserver

Status
colourGreen
titleAvailable



msudp_send_memSends values via UDP to the Miniserver, using caching

Status
colourGreen
titleAvailable




LoxBerry::JSON (PHP not available)

Class to simplify working with json (config) files

FunctionDescriptionPerl LoxBerry::JSONPHP not availableMore information
newConstructor for a json object

Status
colourGreen
titleAvailable



parseParse an already available json string

Status
colourGreen
titleAvailable



openOpens and parses a json file

Status
colourGreen
titleAvailable



writeSaves a changed file to disk, using change detection

Status
colourGreen
titleAvailable



filenameQueries the current filename, or sets a new filename

Status
colourGreen
titleAvailable



findFind a string in an object in the json (array or named list)

Status
colourGreen
titleAvailable



dumpDumps the content of the json to stderr

Status
colourGreen
titleAvailable