
Log::Unrotate::Cursor - abstract unrotate cursor

version 1.28

Log::Unrotate keeps its position in persistent objects called cursors.
See Log::Unrotate::Cursor::File for default cursor implementation.

Get hashref with position data.
Data usually contains Position, Inode, LastLine and LogFile keys.
Save new position into cursor.
Clean all data from cursor.
Rollback cursor to some previous value.
Returns 1 on success, 0 on fail.

Vyacheslav Matjukhin <mmcleric@yandex-team.ru>