NAME
Log::Unrotate::Cursor - abstract unrotate cursor
VERSION
version 1.27
DECRIPTION
Log::Unrotate
keeps its position in persistent objects called cursors.
See Log::Unrotate::Cursor::File
for default cursor implementation.
METHODS
- read()
-
Get hashref with position data.
Data usually contains Position, Inode, LastLine and LogFile keys.
- commit($position)
-
Save new position into cursor.
- clean()
-
Clean all data from cursor.
AUTHOR
Vyacheslav Matjukhin <mmcleric@yandex-team.ru>