<?php
declare(strict_types=1);
namespace Butschster\ContextGenerator\Application\Logger;
use Psr\Log\LoggerInterface;
/**
* Interface for loggers that support message prefixing.
*/
interface HasPrefixLoggerInterface extends LoggerInterface
{
/**
* Creates a new logger instance with the specified prefix.
*
* @param string $prefix The prefix to prepend to log messages
*/
public function withPrefix(string $prefix): self;
/**
* Returns the current prefix used by this logger.
*/
public function getPrefix(): string;
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/context-hub/generator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server