perl plugin: Exported plugin_log() to Perl.
authorSebastian Harl <sh@tokkee.org>
Tue, 10 Apr 2007 22:27:54 +0000 (00:27 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 11 Apr 2007 06:46:18 +0000 (08:46 +0200)
commit21ebca2d467304ebd3dc187d3ecdda6e5aff9d52
treedf857aa76fcff712a0e1749b1fa88f7604a761a4
parent06adec208286b5a136ffa5c5f3832c35e9f62844
perl plugin: Exported plugin_log() to Perl.

This adds the following function to collectd's Perl API:

Collectd::plugin_log:
  pass a message to collectd's logging mechanism

  arguments:
  level - log level
  message - log message

The log level should be any of the Collectd::LOG_* constants.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
src/collectd.pod
src/perl.c