stk2k/stream-logger

View on GitHub
src/LogLevelComparator.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
declare(strict_types=1);

namespace Stk2k\StreamLogger;

interface LogLevelComparator
{
    /**
     * Compare two log levels
     *
     * @param $level_a
     * @param $level_b
     *
     * @return int
     */
    public function compare($level_a, $level_b) : int;
}