-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
2,793 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?php | ||
|
||
use Arcanedev\LogViewer\Contracts\Utilities\Filesystem; | ||
use Arcanedev\LogViewer\Contracts\Utilities\LogLevels as LogLevelsContract; | ||
|
||
return [ | ||
|
||
'storage-path' => storage_path('logs'), | ||
|
||
'pattern' => [ | ||
'prefix' => Filesystem::PATTERN_PREFIX, // 'laravel-' | ||
'date' => Filesystem::PATTERN_DATE, // '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]' | ||
'extension' => Filesystem::PATTERN_EXTENSION, // '.log' | ||
], | ||
|
||
'locale' => 'auto', | ||
|
||
'theme' => 'bootstrap-5', | ||
|
||
'route' => [ | ||
'enabled' => true, | ||
'attributes' => [ | ||
'prefix' => 'log-viewer', | ||
'middleware' => env('ARCANEDEV_LOGVIEWER_MIDDLEWARE') ? explode(',', env('ARCANEDEV_LOGVIEWER_MIDDLEWARE')) : null, | ||
], | ||
'show' => 'log-viewer::logs.show' | ||
], | ||
|
||
'per-page' => 30, | ||
|
||
'download' => [ | ||
'prefix' => 'laravel-', | ||
'extension' => 'log', | ||
], | ||
|
||
'menu' => [ | ||
'filter-route' => 'log-viewer::logs.filter', | ||
'icons-enabled' => true, | ||
], | ||
|
||
'icons' => [ | ||
'all' => 'fa fa-fw fa-list', | ||
'emergency' => 'fa fa-fw fa-bug', | ||
'alert' => 'fa fa-fw fa-bullhorn', | ||
'critical' => 'fa fa-fw fa-heartbeat', | ||
'error' => 'fa fa-fw fa-times-circle', | ||
'warning' => 'fa fa-fw fa-exclamation-triangle', | ||
'notice' => 'fa fa-fw fa-exclamation-circle', | ||
'info' => 'fa fa-fw fa-info-circle', | ||
'debug' => 'fa fa-fw fa-life-ring', | ||
], | ||
|
||
'colors' => [ | ||
'levels' => [ | ||
'empty' => '#D1D1D1', | ||
'all' => '#8A8A8A', | ||
'emergency' => '#B71C1C', | ||
'alert' => '#D32F2F', | ||
'critical' => '#F44336', | ||
'error' => '#FF5722', | ||
'warning' => '#FF9100', | ||
'notice' => '#4CAF50', | ||
'info' => '#1976D2', | ||
'debug' => '#90CAF9', | ||
], | ||
], | ||
|
||
'highlight' => [ | ||
'^#\d+', | ||
'^Stack trace:', | ||
], | ||
|
||
// Asegúrate de que esta parte esté correcta | ||
'log_parsing_regex' => '/^\[(\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}:\d{2}\.?(\d{6}([\+-]\d\d:\d\d)?)?)\](.*?(\w+)\.|.*?)(' | ||
.implode('|', array_filter(LogLevelsContract::all())) | ||
.')?: (.*?)( in [\/].*?:[0-9]+)?$/is', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "تاريخ", | ||
"The list of logs is empty!": "قائمة سجلات فارغة!", | ||
"All": "الجميع", | ||
"Emergency": "حالات الطوارئ", | ||
"Alert": "إنذار", | ||
"Critical": "حرج", | ||
"Error": "خطأ", | ||
"Warning": "تحذير", | ||
"Notice": "ملاحظة", | ||
"Info": "المعلومات", | ||
"Debug": "التصحيح" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Дата", | ||
"The list of logs is empty!": "Не са намерени логове!", | ||
"All": "Всички", | ||
"Emergency": "Emergency", | ||
"Alert": "Alert", | ||
"Critical": "Critical", | ||
"Error": "Error", | ||
"Warning": "Warning", | ||
"Notice": "Notice", | ||
"Info": "Info", | ||
"Debug": "Debug" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "তারিখ", | ||
"The list of logs is empty!": "কোন লগ পাওয়া যায়নি!", | ||
"All": "সবগুলি", | ||
"Emergency": "জরুরী", | ||
"Alert": "সতর্ক", | ||
"Critical": "সংকটপূর্ণ", | ||
"Error": "ত্রুটি", | ||
"Warning": "সতর্কতা", | ||
"Notice": "নোটিস", | ||
"Info": "তথ্য", | ||
"Debug": "রুটি অনুসন্ধান" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Datum", | ||
"The list of logs is empty!": "KeineLogDateiengefunden!", | ||
"All": "Alle", | ||
"Emergency": "Notfall", | ||
"Alert": "Alarm", | ||
"Critical": "Kritisch", | ||
"Error": "Fehler", | ||
"Warning": "Warnung", | ||
"Notice": "Hinweis", | ||
"Info": "Info", | ||
"Debug": "Debug" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Fecha", | ||
"The list of logs is empty!": "La lista del log está vacía!", | ||
"All": "Todos", | ||
"Emergency": "Emergencia", | ||
"Alert": "Alerta", | ||
"Critical": "Criticos", | ||
"Error": "Errores", | ||
"Warning": "Advertencia", | ||
"Notice": "Aviso", | ||
"Info": "Info", | ||
"Debug": "Debug" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Kuupäev", | ||
"The list of logs is empty!": "Logide nimekiri on tühi!", | ||
"All": "Kõik", | ||
"Emergency": "Erakorraline", | ||
"Alert": "Häire", | ||
"Critical": "Kriitiline", | ||
"Error": "Viga", | ||
"Warning": "Hoiatus", | ||
"Notice": "Teade", | ||
"Info": "Info", | ||
"Debug": "Silumine" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "تاریخ", | ||
"The list of logs is empty!": "لیست لاگ ها خالی است!", | ||
"All": "همه", | ||
"Emergency": "اورژانسی", | ||
"Alert": "اخطار", | ||
"Critical": "بحرانی", | ||
"Error": "خطا", | ||
"Warning": "هشدار", | ||
"Notice": "اعلان", | ||
"Info": "اطلاعات", | ||
"Debug": "دیباگ" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Date", | ||
"The list of logs is empty!": "La liste des logs est vide !", | ||
"All": "Tous", | ||
"Emergency": "Urgence", | ||
"Alert": "Alerte", | ||
"Critical": "Critique", | ||
"Error": "Erreur", | ||
"Warning": "Avertissement", | ||
"Notice": "Notice", | ||
"Info": "Info", | ||
"Debug": "Debug" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "תאריך", | ||
"The list of logs is empty!": "רשימת הלוגים ריקה!", | ||
"All": "הכל", | ||
"Emergency": "חרום", | ||
"Alert": "אזעקה", | ||
"Critical": "קריטי", | ||
"Error": "שגיאה", | ||
"Warning": "אזהרה", | ||
"Notice": "הודעה", | ||
"Info": "מידע", | ||
"Debug": "ניפוי" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Dátum", | ||
"The list of logs is empty!": "A naplók listája üres!", | ||
"All": "Összes", | ||
"Emergency": "Vészhelyzet", | ||
"Alert": "Riasztás", | ||
"Critical": "Kritikus", | ||
"Error": "Hiba", | ||
"Warning": "Figyelmeztetés", | ||
"Notice": "Értesítés", | ||
"Info": "Információ", | ||
"Debug": "Hibakeresés" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Ամսաթիվ", | ||
"The list of logs is empty!": "Լոգերի ցուցակը դատարկ է։", | ||
"All": "Բոլորը", | ||
"Emergency": "Վթարային", | ||
"Alert": "Նախազգուշացում", | ||
"Critical": "Կրիտիկական", | ||
"Error": "Սխալ", | ||
"Warning": "Նախազգուշացում", | ||
"Notice": "Ծանուցում", | ||
"Info": "Տեղեկատվություն", | ||
"Debug": "Կարգաբերում" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Tanggal", | ||
"The list of logs is empty!": "Daftar Log Kosong", | ||
"All": "Semua", | ||
"Emergency": "Darurat", | ||
"Alert": "Waspada", | ||
"Critical": "Kritis", | ||
"Error": "Kesalahan", | ||
"Warning": "Peringatan", | ||
"Notice": "Pemberitahuan", | ||
"Info": "Info", | ||
"Debug": "Debug" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Data", | ||
"The list of logs is empty!": "L'elenco dei log è vuoto!", | ||
"All": "Tutti", | ||
"Emergency": "Emergenza", | ||
"Alert": "Allarme", | ||
"Critical": "Critico", | ||
"Error": "Errore", | ||
"Warning": "Avviso", | ||
"Notice": "Notifica", | ||
"Info": "Info", | ||
"Debug": "Debug" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "日付", | ||
"The list of logs is empty!": "ログリストが空です!", | ||
"All": "すべて", | ||
"Emergency": "緊急", | ||
"Alert": "警戒", | ||
"Critical": "致命的", | ||
"Error": "エラー", | ||
"Warning": "警告", | ||
"Notice": "通知", | ||
"Info": "情報", | ||
"Debug": "デバッグ" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "날짜", | ||
"The list of logs is empty!": "로그가 없습니다.", | ||
"All": "전체", | ||
"Emergency": "긴급", | ||
"Alert": "경고", | ||
"Critical": "심각", | ||
"Error": "오류", | ||
"Warning": "주의", | ||
"Notice": "알림", | ||
"Info": "정보", | ||
"Debug": "디버그" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Tarikh", | ||
"The list of logs is empty!": "Senarai log kosong!", | ||
"All": "Semua", | ||
"Emergency": "Kecemasan", | ||
"Alert": "Waspada", | ||
"Critical": "Kritikal", | ||
"Error": "Ralat", | ||
"Warning": "Amaran", | ||
"Notice": "Notis", | ||
"Info": "Info", | ||
"Debug": "Debug" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Datum", | ||
"The list of logs is empty!": "De lijst met logs is leeg!", | ||
"All": "Alle", | ||
"Emergency": "Noodgeval", | ||
"Alert": "Alarm", | ||
"Critical": "Cruciaal", | ||
"Error": "Error", | ||
"Warning": "Waarschuwing", | ||
"Notice": "Opmerking", | ||
"Info": "Informatie", | ||
"Debug": "Debug" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Data", | ||
"The list of logs is empty!": "Lista logów jest pusta!", | ||
"All": "Wszystkie", | ||
"Emergency": "Awaryjne", | ||
"Alert": "Alerty", | ||
"Critical": "Krytyczne", | ||
"Error": "Błędy", | ||
"Warning": "Ostrzeżenia", | ||
"Notice": "Warte uwagi", | ||
"Info": "Informacje", | ||
"Debug": "Debug" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Data", | ||
"The list of logs is empty!": "A lista de logs está vazia!", | ||
"All": "Todos", | ||
"Emergency": "Emergência", | ||
"Alert": "Alerta", | ||
"Critical": "Crítico", | ||
"Error": "Erro", | ||
"Warning": "Aviso", | ||
"Notice": "Notícia", | ||
"Info": "Informação", | ||
"Debug": "Debug" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Dată", | ||
"The list of logs is empty!": "Nu există niciun log!", | ||
"All": "Toate", | ||
"Emergency": "Urgență", | ||
"Alert": "Alertă", | ||
"Critical": "Critic", | ||
"Error": "Eroare", | ||
"Warning": "Pericol", | ||
"Notice": "Avertisment", | ||
"Info": "Informare", | ||
"Debug": "Depanare" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "Дата", | ||
"The list of logs is empty!": "Список журналов пуст!", | ||
"All": "Все", | ||
"Emergency": "Аварийная", | ||
"Alert": "Предупреждение", | ||
"Critical": "Критический", | ||
"Error": "Ошибка", | ||
"Warning": "Предупреждение", | ||
"Notice": "Уведомление", | ||
"Info": "Информация", | ||
"Debug": "Отладка" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Date": "දිනය", | ||
"The list of logs is empty!": "සටහන් ලැයිස්තුව හිස්ය", | ||
"All": "සියල්ල", | ||
"Emergency": "හදිසි", | ||
"Alert": "පරීක්ෂාකාරී", | ||
"Critical": "අවදානම්", | ||
"Error": "දෝෂය", | ||
"Warning": "අවවාදය", | ||
"Notice": "නිවේදනය", | ||
"Info": "තොරතුරු", | ||
"Debug": "නිදොස්කරණය" | ||
} |
Oops, something went wrong.