Skip to content

lingtalfi/Light_DebugTrace

Repository files navigation

Light_DebugTrace

2020-06-25 -> 2021-06-03

A service to help debug your light application.

This is a Light plugin.

This is part of the universe framework.

Install

Using the planet installer via light-cli

lt install Ling.Light_DebugTrace

Using the uni command.

uni import Ling/Light_DebugTrace

Or just download it and place it where you want otherwise.

Summary

Services

Here is an example of the service configuration:

debugtrace:
    instance: Ling\Light_DebugTrace\Service\LightDebugTraceService
    methods:
        setContainer:
            container: @container()
        setTargetFile:
            file: ${app_dir}/log/Light_DebugTrace/light_debugtrace.txt
        setTargetDir:
            dir: ${app_dir}/log/Light_DebugTrace/all
        setHttpRequestFilters:
            filters:
                urlIgnoreIfStartWith: []
                    - /user-data
                    - /ajax-handler
                    - /css/tmp/
                    - /browser-sync/


# --------------------------------------
# hooks
# --------------------------------------
$events.methods_collection:
    -
        method: registerListener
        args:
            event: Ling.Light.on_route_found
            listener:
                instance: @service(debugtrace)
                callable_method: onRouteFound
    -
        method: registerListener
        args:
            event: Ling.Light.initialize_1
            listener:
                instance: @service(debugtrace)
                callable_method: initialize
    -
        method: registerListener
        args:
            event: Ling.Light.end_routine
            listener:
                instance: @service(debugtrace)
                callable_method: onEndRoutine

History Log

  • 1.1.2 -- 2021-06-03

    • adapt api to work with Light_PlanetInstaller:2.0.4
  • 1.1.1 -- 2021-05-31

    • Removing trailing plus in lpi-deps file (to work with Light_PlanetInstaller:2.0.0 api
  • 1.1.0 -- 2021-05-31

    • update api to work with Light_PlanetInstaller 2.0.0
  • 1.0.10 -- 2021-05-03

    • Update dependencies to Ling.Light_Events (pushed by SubscribersUtil)
  • 1.0.9 -- 2021-05-03

    • Update dependencies to Ling.Light_Events (pushed by SubscribersUtil)
  • 1.0.8 -- 2021-05-03

    • Update dependencies to Ling.Light_Events (pushed by SubscribersUtil)
  • 1.0.7 -- 2021-03-22

    • adapt api to work with Ling.Light_Events:1.10.0
  • 1.0.6 -- 2021-03-19

    • fix open events not in the "events" directory
  • 1.0.5 -- 2021-03-18

    • switch some listeners to Ling.Light_Events' open registration system
  • 1.0.4 -- 2021-03-15

    • update planet to adapt Ling.Light:0.70.0
  • 1.0.3 -- 2021-03-05

    • update README.md, add install alternative
  • 1.0.2 -- 2020-12-08

    • Fix lpi-deps not using natsort.
  • 1.0.1 -- 2020-12-04

    • Add lpi-deps.byml file
  • 1.0.0 -- 2020-06-25

    • initial commit

About

A service to help debug your light application.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages