using ModelContextProtocol.Server;
using System.Text.Json.Serialization;
namespace ModelContextProtocol.Protocol;
///
/// Represents the logging capability configuration for a Model Context Protocol server.
///
///
/// This capability allows clients to set the logging level and receive log messages from the server.
/// See the schema for details.
///
public class LoggingCapability
{
// Currently empty in the spec, but may be extended in the future
///
/// Gets or sets the handler for set logging level requests from clients.
///
[JsonIgnore]
public Func, CancellationToken, ValueTask>? SetLoggingLevelHandler { get; set; }
}