Log::Unrotate::Cursor - abstract class for unrotate cursors
version 1.32
Log::Unrotate keeps its position in persistent objects called cursors.
Log::Unrotate
See Log::Unrotate::Cursor::File for the default cursor implementation.
Log::Unrotate::Cursor::File
Get the hashref with a position data.
Data usually includes Position, Inode, LastLine and LogFile keys.
Save a new position into the cursor.
Clean all data from the cursor.
Rollback the cursor to some previous value.
Returns 1 on success, 0 on fail.
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.