File: scribe.php

package info (click to toggle)
php-horde-scribe 2.0.3-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 108 kB
  • sloc: xml: 261; php: 34; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
/**
 * Simple Scribe logging example
 *
 * @category Horde
 * @package  Scribe
 */

require 'Horde/Autoloader.php';

$scribe = new Horde_Scribe_Client();
$scribe->connect('localhost', 1463);
$scribe->log('keyword', 'This is a message for the keyword category');