Log::Unrotate::Cursor::File - file keeping unrotate position
version 1.33
use Log::Unrotate::Cursor::File; $cursor = Log::Unrotate::Cursor::File->new($file, { lock => "blocking" });
Construct a cursor from the file.
$options is an optional hashref.
$options
lock option describes the locking behavior. See Log::Unrotate for details.
Log::Unrotate
rollback_period option defines the target rollback time in seconds. If 0, rollback behaviour will be off.
To install Log::Unrotate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Unrotate
CPAN shell
perl -MCPAN -e shell install Log::Unrotate
For more information on module installation, please visit the detailed CPAN module installation guide.