Log::Unrotate::Cursor - abstract unrotate cursor


Log-Unrotate documentation Contained in the Log-Unrotate distribution.

Index


Code 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 Contained in the Log-Unrotate distribution.
package Log::Unrotate::Cursor;
BEGIN {
  $Log::Unrotate::Cursor::VERSION = '1.25';
}

use strict;
use warnings;

sub read($) {
    die 'not implemented';
}

sub commit($$) {
    die 'not implemented';
}

sub clean($) {
    die 'not implemented';
}

1;