File: resources/js/components/Show/Log.vue

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin  >  Laravel Nova Log Viewer  >  resources/js/components/Show/Log.vue  >  Download  
File: resources/js/components/Show/Log.vue
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Nova Log Viewer
Display information about logs in Laravel Nova
Author: By
Last change:
Date: 1 year ago
Size: 1,110 bytes


Class file image Download
        <td class="p-2">
                <span :style="{'background-color' : getColor(entry.level) }" class="inline-block px-3 py-1 text-sm text-white font-semibold mr-3">
                {{ entry.level.toUpperCase() }}

                Time : {{ entry.datetime }}
            <p class="mt-2">
                {{ entry.header }}
        <td class="p-2">
                v-if="entry.stack.length > 2"
                class="bg-transparent hover:bg-primary text-primary border-primary font-semibold hover:text-white py-2 px-4 border hover:border-transparent rounded"
    import color from '../../utils/color'
    export default {
        name: "Log",
        props: ['entry'],
        methods : {
            getColor (level) {
                return color(level)

<style scoped>


For more information send a message to info at phpclasses dot org.