NAME
XAS::Logmon::Input::Tail::Linux - A mixin for Linux specific file tailing
DESCRIPTION
This method is autoloaded when running on a Linux platform. It uses Linux::Inotify2 to monitor the file.
METHODS
get
Returns one line from the tailed file or undef if the file is moved or deleted.
init_notifier
Initialize Linux::Inotify2 and start the file monitoring.
SEE ALSO
- XAS::Logmon::Input::Tail::Default
- XAS::Logmon::Input::Tail::Win32
- XAS::Logmon::Input::Tail
- XAS::Logmon
- XAS
Based on code from File::Tail::Inotify2.
AUTHOR
Kevin L. Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (c) 2012-2015 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.