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

umbrellio / php-table-sync / 4437640913

pending completion
4437640913

Pull #17

github

GitHub
Merge 47755265c into 11d702b3a
Pull Request #17: Disable exception suppression

0 of 8 new or added lines in 1 file covered. (0.0%)

112 existing lines in 14 files now uncovered.

270 of 692 relevant lines covered (39.02%)

1.79 hits per line

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

0.0
/src/Integration/Laravel/TelegrafLogChannel.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Umbrellio\TableSync\Integration\Laravel;
6

7
use Illuminate\Log\LogManager;
8
use Monolog\Logger;
9
use Psr\Log\LoggerInterface;
10
use Umbrellio\TableSync\Monolog\Handler\TelegrafHandler;
11

12
class TelegrafLogChannel extends LogManager
13
{
14
    public function __invoke(array $config): LoggerInterface
15
    {
16
        $handler = new TelegrafHandler(
×
17
            config('telegraf.host'),
×
18
            config('telegraf.port'),
×
19
            $config['measurement'] ?? null,
×
20
            $config['level'] ?? Logger::INFO,
×
21
            $config['bubble'] ?? true
×
UNCOV
22
        );
×
23

24
        return new Logger($this->parseChannel($config), [$handler]);
×
25
    }
26
}
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

© 2025 Coveralls, Inc