• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ProjektAdLer / MoodlePluginLocalLogging / 13617644117

02 Mar 2025 05:17PM UTC coverage: 55.319% (-39.4%) from 94.737%
13617644117

push

github

Glutamat42
remove output modules stdout and db, refactor mtrace output to output to typical defaults (like apache log etc)

2 of 13 new or added lines in 3 files covered. (15.38%)

8 existing lines in 1 file now uncovered.

26 of 47 relevant lines covered (55.32%)

2.98 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/classes/hook_listener.php
1
<?php
2

3
namespace local_logging;
4

5
use core\di;
6
use core\hook\di_configuration;
7
use local_logging\local\output\log_output;
8
use local_logging\local\output\log_output_to_default_outputs;
9

10
class hook_listener {
11
    public static function inject_dependencies(di_configuration $hook): void {
12
        $hook->add_definition(
7✔
13
            id: log_output::class,
7✔
14
            definition: function (): log_output {
7✔
NEW
15
                return di::get(log_output_to_default_outputs::class);
×
16
            }
7✔
17
        );
7✔
18
    }
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc