public static function err($message, $addEol = true)
    {
        if ($addEol) {
            $message .= PHP_EOL;
        }

        if (\defined('STDERR')) {
            fwrite(STDERR, $message);
        } else {
            echo $message;
        }
    }