Skip to main content
Glama
Logger.swift361 B
import Foundation import os extension Logger { func measure<T>(message: String, _ block: () throws -> T) rethrows -> T { let start = Date() info("\(message) - start") let result = try block() let duration = Date().timeIntervalSince(start) NSLog("\(message) - duration \(duration)") return result } }

Latest Blog Posts

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/mobile-dev-inc/Maestro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server