ssmr9dt/sambalogparser

v1.0 2018-09-09 15:38 UTC

This package is auto-updated.

Last update: 2025-07-07 04:05:53 UTC


README

Quick start

Installation

composer require  ssmr9dt/sambalogparser

Reference test/start.php

How to Use

require __DIR__ . "/../vendor/autoload.php";

$SambaLogParser = new ssmr9dt\SambaLogParser();

$SambaLogParser->addFile("/var/log/samba/log.ssmr9dt");
$logs = $SambaLogParser->getTimestamps();

for ($i=0; $i<count($logs); $i++)
{
  echo $logs[$i] . "\n";
}

License

This software is released under the MIT License, see LICENSE.