Log :: dispatch :: config

log :: dispatch :: config ist ein log4j für perl.
Jetzt downloaden

Log :: dispatch :: config Ranking & Zusammenfassung

Anzeige

  • Rating:
  • Lizenz:
  • Perl Artistic License
  • Preis:
  • FREE
  • Name des Herausgebers:
  • Tatsuhiko Miyagawa
  • Website des Verlags:
  • http://search.cpan.org/~miyagawa/

Log :: dispatch :: config Stichworte


Log :: dispatch :: config Beschreibung

Log :: dispatch :: config ist ein log4j für perl. Log :: dispatch :: config ist ein log4j für perl.synopsis atem log :: dispatch :: config; Protokoll :: Dispatch :: config-> Konfigurieren ('/ path / log.conf'); Mein $ dispatcher = log :: dispatch :: config-> instanz; $ Dispatcher-> Debug ('Dies ist Debugnachricht'); $ Dispatcher-> Notfall ('etwas * schlecht * passiert!'); # automatische Nachladen von CONF-Datei, wenn geändertes Protokoll :: Dispatch :: config-> configure_and_watch ('/ path / log.conf'); # oder wenn Sie Ihr eigenes CONFIG-PARSER schreiben: Verwenden Sie Protokoll :: Dispatch :: Configurator :: XmlSimple; My $ config = log :: dispatch :: configurator :: xmlsimple-> neu (log.xml '); Log :: dispatch :: config-> konfigurieren ($ config); log :: dispatch :: config ist eine Unterklasse von log :: dispatch und bietet einen Weg zur Konfiguration des Protokolls :: Dispatch-Objekt mit Konfigurationsdatei (Standardeinstellung im AppConfig-Format) ). Ich meine, dies ist log4j für Perl, nicht mit aller API-Kompatibilität, jedoch mit allen API-Kompatibilität. (Der tatsächliche Aufbau des Objekts erfolgt im ersten Instanz-Anruf). So, was Sie tun sollten, ist das Anruf-Konfigurations-Methode einmal in irgendwo (wie startup.pl in mod_perl), dann können Sie die konfigurierte Dispatcher-Instanz über Protokoll :: Versand: : Config-> instanz. Anforderungen: · Perl.


Log :: dispatch :: config Zugehörige Software

XML :: ApageFop.

XML :: AponeFop ist ein Perl-Modul, mit dem Apache FOP von Perl auf Apache-FOP zugreifen kann, um PDF-Dateien mit XSL-FO zu erstellen. ...

141

Herunterladen