Code

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:27:31 +0000 (08:27 +0200)
commitf59d051e2087090f15545c65facbc507699ac7e6
treedc86e339501f66d0ae23b2ab7f7168691ef1fbea
parent3b3b7e5b98de86da500329e0a8c84debc51d8b4d
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