PSGI

NAME

Lumberjack::Application::PSGI - Web receiver for Lumberjack messages

SYNOPSIS


use Lumberjack::Application::PSGI;

my &app = Lumberjack::Application::PSGI.new;

# Start listener on port 8898
HTTP::Server::Tiny.new(port => 8898).run(&app);

DESCRIPTION

This provides a mechanism to receive the Lumberjack logging messages that have been sent by a remote Lumberjack::Dispatcher::Proxy dispatcher and cause them to be re-dispatched to the local Lumberjack dispatchers.

An instance of the class is a P6SGI compliant application callable so can be used with any compliant server container.

The class has no public methods or attributes and the way that the messages are onward dispatched is entirely in the hands of the local Lumberjack framework setup.

The application will only accept 'POST' requests of content type 'application/json' (which content will be a JSON serialised message.) The actual location on the server is the responsibility of the larger application configuration.

Lumberjack::Application v0.0.10

A web facility for the Lumberjack logging framework

Authors

  • Jonathan Stowe

License

Artistic-2.0

Dependencies

Lumberjack:ver<0.1.2+>Lumberjack::Message::JSON:ver<0.0.3+>HTTP::UserAgentHTTP::Server::TinyCrustWebSocketJSON::ClassTemplate6

Test Dependencies

Provides

  • Lumberjack::Application
  • Lumberjack::Application::Index
  • Lumberjack::Application::PSGI
  • Lumberjack::Application::WebSocket
  • Lumberjack::Dispatcher::Proxy
  • Lumberjack::Dispatcher::Supply
  • Lumberjack::Template::Provider

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.