APILog store

Log store

Logs all requests to STDERR (or another file handle) while passing them to another store.

Instance creation

my $logStore = CDS::LogStore->new($store);
my $logStore = CDS::LogStore->new($store, $fileHandle, $prefix);

Wraps a log store around store. The log store uses the URL from the store. All requests are logged to fileHandle (STDERR by default), prefixed by prefix (empty string by default), and then passed as-is to the wrapped store.

Store behavior

All store requests are passed as-is to the wrapped store.

The log store is currently only implemented in Perl.