diff --git a/README.md b/README.md index 81f37ea..61596d8 100644 --- a/README.md +++ b/README.md @@ -24,15 +24,17 @@ Feel free to check out the [releases](https://github.com/ulcuber/LogViewer/relea - Logs menu/tree generator. - Grouped logs by dates and levels. - Customized log levels icons (bootstrap icons by default). -- Works great with big logs +- Works great with big logs. - Well documented package (IDE Friendly). -- Well tested -- Any date format -- Custom regex to parse extra params -- Well optimized -- Could be balanced between Memory/CPU consumption -- Filters for any parsed params -- Search for similar log entries +- Well tested. +- Any date format. +- Local dates displayed (in browser timezone). +- Custom regex to parse extra params. +- Well optimized. +- Could be balanced between Memory/CPU consumption. +- Filters for any parsed params. +- Search for [similar](https://www.php.net/manual/en/function.similar-text.php) log entries. +- Logs context stats. ## Table of contents diff --git a/config/log-viewer.php b/config/log-viewer.php index b7724f5..f341809 100644 --- a/config/log-viewer.php +++ b/config/log-viewer.php @@ -63,11 +63,11 @@ | Theme | ----------------------------------------------------------------- | Supported themes : - | 'bootstrap-4' + | 'bootstrap-5' | Make your own theme by adding a folder to the views directory and specifying it here. */ - 'theme' => 'bootstrap-4', + 'theme' => 'bootstrap-5', /* ----------------------------------------------------------------- | Route settings diff --git a/resources/lang/en/general.php b/resources/lang/en/general.php index 18193c1..e10a430 100644 --- a/resources/lang/en/general.php +++ b/resources/lang/en/general.php @@ -14,6 +14,7 @@ 'header' => 'Header', 'download' => 'Download', 'delete' => 'Delete', + 'stats' => 'Stats', 'info-actions' => 'Info/Actions', 'levels' => 'Levels', 'log-info' => 'Log info:', diff --git a/resources/lang/ru/general.php b/resources/lang/ru/general.php index 6de4d6b..f3d7876 100644 --- a/resources/lang/ru/general.php +++ b/resources/lang/ru/general.php @@ -14,6 +14,7 @@ 'header' => 'Заголовок', 'download' => 'Скачать', 'delete' => 'Удалить', + 'stats' => 'Статистика', 'info-actions' => 'Инфо/Действия', 'levels' => 'Уровни', 'log-info' => 'Информация о журнале:', diff --git a/resources/views/bootstrap-4/show.blade.php b/resources/views/bootstrap-5/_log.blade.php similarity index 54% rename from resources/views/bootstrap-4/show.blade.php rename to resources/views/bootstrap-5/_log.blade.php index c7afa2b..58aa96c 100644 --- a/resources/views/bootstrap-4/show.blade.php +++ b/resources/views/bootstrap-5/_log.blade.php @@ -1,12 +1,4 @@ - $entries - * @var string|null $search - */ -?> - -@extends('log-viewer::bootstrap-4._master') +@extends('log-viewer::bootstrap-5._master') @section('content')