Implement PSR3 and PHP Monolog (#19)
* feat: install monolog composer lib * feat: implement psr3 and monolog * feat: display logs in frontend * fix: tests * build: update cicd to run tests for PR * build: add phpcs to cicd * refactor: fix phpcs problems
This commit is contained in:
18
frontend/admin/src/components/LogsViewer.vue
Normal file
18
frontend/admin/src/components/LogsViewer.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<textarea v-text="rows" rows="40" class="tw:w-full"/>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {onMounted, ref} from "vue";
|
||||
import {apiGet} from "@/utils/http.js";
|
||||
|
||||
const rows = ref('');
|
||||
onMounted(async () => {
|
||||
const response = await apiGet('getLogs');
|
||||
rows.value = response.data;
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user