[SCM] libmessage-passing-perl Debian packaging branch, master, updated. debian/0.111-3-14-g44f6e88
Tomas Doran
bobtfish at bobtfish.net
Mon May 6 11:56:39 UTC 2013
The following commit has been merged in the master branch:
commit 8596d976aa7ca10872d1be23b8041c413dbf34ad
Author: Tomas Doran <bobtfish at bobtfish.net>
Date: Sat Feb 25 20:56:42 2012 +0000
More docs
diff --git a/lib/Log/Stash.pm b/lib/Log/Stash.pm
index ac38061..27ee251 100644
--- a/lib/Log/Stash.pm
+++ b/lib/Log/Stash.pm
@@ -79,7 +79,7 @@ All of the below are coming real soon.
=over
-=item L<Log::Stash::Input::STDIN> - For testing!
+=item L<Log::Stash::Input::STDIN>
=item L<Log::Stash::Input::AMQP>
@@ -91,7 +91,7 @@ All of the below are coming real soon.
=over
-=item L<Log::Stash::Output::STDOUT> - For testing!
+=item L<Log::Stash::Output::STDOUT>
=item L<Log::Stash::Output::AMQP>
@@ -99,6 +99,10 @@ All of the below are coming real soon.
=item L<Log::Stash::Output::WebHooks>
+=item L<Log::Stash::Output::ElasticSearch>
+
+=item L<Log::Stash::Output::Test>
+
=back
=head1 AUTHOR
diff --git a/lib/Log/Stash/Input/STDIN.pm b/lib/Log/Stash/Input/STDIN.pm
index 988fecd..0ad1475 100644
--- a/lib/Log/Stash/Input/STDIN.pm
+++ b/lib/Log/Stash/Input/STDIN.pm
@@ -18,5 +18,44 @@ sub BUILD {
});
}
+__PACKAGE__->meta->make_immutable;
1;
+=head1 NAME
+
+Log::Stash::Input::STDIN - STDIN input
+
+=head1 SYNOPSIS
+
+ logstash --input STDIN --output STDOUT
+ {"foo": "bar"}
+ {"foo":"bar"}
+
+=head1 DESCRIPTION
+
+=head1 SEE ALSO
+
+L<Log::Stash>
+
+=head1 AUTHOR
+
+Tomas (t0m) Doran <bobtfish at bobtfish.net>
+
+=head1 SPONSORSHIP
+
+This module exists due to the wonderful people at
+L<Suretec Systems|http://www.suretecsystems.com/> who sponsored it's
+development.
+
+=head1 COPYRIGHT
+
+Copyright Suretec Systems 2012.
+
+Logstash (upon which many ideas for this project is based, but
+which we do not reuse any code from) is copyright 2010 Jorden Sissel.
+
+=head1 LICENSE
+
+XX - TODO
+
+=cut
diff --git a/lib/Log/Stash/Output/Null.pm b/lib/Log/Stash/Output/Null.pm
index b8f64ca..2a9dd5f 100644
--- a/lib/Log/Stash/Output/Null.pm
+++ b/lib/Log/Stash/Output/Null.pm
@@ -17,5 +17,43 @@ Log::Stash::Output::Null - /dev/null for logstash messages
Throws away all messages passed to it.
+head1 NAME
+
+Log::Stash::Input::STDIN - STDIN input
+
+=head1 SYNOPSIS
+
+ logstash --input STDIN --output Null
+ {"foo": "bar"}
+
+ # Note noting is printed...
+
+=head1 DESCRIPTION
+
+=head1 SEE ALSO
+
+L<Log::Stash>
+
+=head1 AUTHOR
+
+Tomas (t0m) Doran <bobtfish at bobtfish.net>
+
+=head1 SPONSORSHIP
+
+This module exists due to the wonderful people at
+L<Suretec Systems|http://www.suretecsystems.com/> who sponsored it's
+development.
+
+=head1 COPYRIGHT
+
+Copyright Suretec Systems 2012.
+
+Logstash (upon which many ideas for this project is based, but
+which we do not reuse any code from) is copyright 2010 Jorden Sissel.
+
+=head1 LICENSE
+
+XX - TODO
+
=cut
diff --git a/lib/Log/Stash/Output/STDOUT.pm b/lib/Log/Stash/Output/STDOUT.pm
index a89098b..8aeb2e3 100644
--- a/lib/Log/Stash/Output/STDOUT.pm
+++ b/lib/Log/Stash/Output/STDOUT.pm
@@ -9,5 +9,46 @@ sub consume {
print $self->encode(shift()) . "\n";
}
+__PACKAGE__->meta->make_immutable;
1;
+=head1 NAME
+
+Log::Stash::Output::STDOUT - STDOUT output
+
+=head1 SYNOPSIS
+
+ logstash --input STDIN --output STDOUT
+ {"foo": "bar"}
+ {"foo":"bar"}
+
+=head1 DESCRIPTION
+
+=head1 SEE ALSO
+
+L<Log::Stash>
+
+=head1 AUTHOR
+
+Tomas (t0m) Doran <bobtfish at bobtfish.net>
+
+=head1 SPONSORSHIP
+
+This module exists due to the wonderful people at
+L<Suretec Systems|http://www.suretecsystems.com/> who sponsored it's
+development.
+
+=head1 COPYRIGHT
+
+Copyright Suretec Systems 2012.
+
+Logstash (upon which many ideas for this project is based, but
+which we do not reuse any code from) is copyright 2010 Jorden Sissel.
+
+=head1 LICENSE
+
+XX - TODO
+
+=cut
+
+
diff --git a/lib/Log/Stash/Output/Test.pm b/lib/Log/Stash/Output/Test.pm
index 77b7738..308b192 100644
--- a/lib/Log/Stash/Output/Test.pm
+++ b/lib/Log/Stash/Output/Test.pm
@@ -41,5 +41,30 @@ Log::Stash::Output::Test - Output for use in unit tests
You only want this if you're writing tests...
See the current tests for examples..
+=head1 SEE ALSO
+
+L<Log::Stash>
+
+=head1 AUTHOR
+
+Tomas (t0m) Doran <bobtfish at bobtfish.net>
+
+=head1 SPONSORSHIP
+
+This module exists due to the wonderful people at
+L<Suretec Systems|http://www.suretecsystems.com/> who sponsored it's
+development.
+
+=head1 COPYRIGHT
+
+Copyright Suretec Systems 2012.
+
+Logstash (upon which many ideas for this project is based, but
+which we do not reuse any code from) is copyright 2010 Jorden Sissel.
+
+=head1 LICENSE
+
+XX - TODO
+
=cut
diff --git a/lib/Log/Stash/Role/Filter.pm b/lib/Log/Stash/Role/Filter.pm
index 71e14f9..4f90807 100644
--- a/lib/Log/Stash/Role/Filter.pm
+++ b/lib/Log/Stash/Role/Filter.pm
@@ -26,9 +26,30 @@ L<Log::Stash::Mixin::Producer> are required, in addition to:
Called to filter the message. Returns the mangled message.
-=HEAD1 AUTHOR, COPYRIGHT AND LICENSE
+=head1 SEE ALSO
-See L<Log::Stash> for details.
+L<Log::Stash>
-=cut
+=head1 AUTHOR
+
+Tomas (t0m) Doran <bobtfish at bobtfish.net>
+
+=head1 SPONSORSHIP
+
+This module exists due to the wonderful people at
+L<Suretec Systems|http://www.suretecsystems.com/> who sponsored it's
+development.
+
+=head1 COPYRIGHT
+
+Copyright Suretec Systems 2012.
+
+Logstash (upon which many ideas for this project is based, but
+which we do not reuse any code from) is copyright 2010 Jorden Sissel.
+
+=head1 LICENSE
+
+XX - TODO
+
+=cu
diff --git a/lib/Log/Stash/Role/Input.pm b/lib/Log/Stash/Role/Input.pm
index d5d8885..e591f01 100644
--- a/lib/Log/Stash/Role/Input.pm
+++ b/lib/Log/Stash/Role/Input.pm
@@ -14,19 +14,35 @@ has output_to => (
=head1 NAME
-Log::Stash::Mixin::Producer
+Log::Stash::Role::Input
=head1 DESCRIPTION
Produces messages.
-=head1 REQUIRED METHODS
+=head1 SEE ALSO
-=head2 produce
+L<Log::Stash>
-=HEAD1 AUTHOR, COPYRIGHT AND LICENSE
+=head1 AUTHOR
-See L<Log::Stash> for details.
+Tomas (t0m) Doran <bobtfish at bobtfish.net>
-=cut
+=head1 SPONSORSHIP
+This module exists due to the wonderful people at
+L<Suretec Systems|http://www.suretecsystems.com/> who sponsored it's
+development.
+
+=head1 COPYRIGHT
+
+Copyright Suretec Systems 2012.
+
+Logstash (upon which many ideas for this project is based, but
+which we do not reuse any code from) is copyright 2010 Jorden Sissel.
+
+=head1 LICENSE
+
+XX - TODO
+
+=cu
diff --git a/lib/Log/Stash/Role/Output.pm b/lib/Log/Stash/Role/Output.pm
index 4d933be..f531a9e 100644
--- a/lib/Log/Stash/Role/Output.pm
+++ b/lib/Log/Stash/Role/Output.pm
@@ -16,7 +16,7 @@ requires 'consume';
=head1 NAME
-Log::Stash::Mixin::Consumer - Consumers messages
+Log::Stash::Role::Output - Consumes messages
=head1 DESCRIPTION
@@ -28,9 +28,31 @@ This is a role for classes which consumer messages (e.g. a Log::Stash output)
Consume a message
-=HEAD1 AUTHOR, COPYRIGHT AND LICENSE
+=head1 SEE ALSO
-See L<Log::Stash> for details.
+L<Log::Stash>
+
+=head1 AUTHOR
+
+Tomas (t0m) Doran <bobtfish at bobtfish.net>
+
+=head1 SPONSORSHIP
+
+This module exists due to the wonderful people at
+L<Suretec Systems|http://www.suretecsystems.com/> who sponsored it's
+development.
+
+=head1 COPYRIGHT
+
+Copyright Suretec Systems 2012.
+
+Logstash (upon which many ideas for this project is based, but
+which we do not reuse any code from) is copyright 2010 Jorden Sissel.
+
+=head1 LICENSE
+
+XX - TODO
=cut
+
--
libmessage-passing-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list