Log::Unrotate::Cursor - abstract unrotate cursor


Log-Unrotate documentation  | view source Contained in the Log-Unrotate distribution.

Index


NAME

Top

Log::Unrotate::Cursor - abstract unrotate cursor

VERSION

Top

version 1.25

DECRIPTION

Top

Log::Unrotate keeps its position in persistent objects called cursors.

See Log::Unrotate::Cursor::File for default cursor implementation.

METHODS

Top

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

Top

Vyacheslav Matjukhin <mmcleric@yandex-team.ru>


Log-Unrotate documentation  | view source Contained in the Log-Unrotate distribution.