{"modulePath":"github.com/aws/aws-lambda-runtime-interface-emulator","version":"v0.0.0-20261030222936-bef5c4ba774d","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package servicelogs\n\n## Types\n\n```go\ntype Dimension = Tuple\n```\n\n```go\ntype Logger interface {\n\tio.Closer\n\tLog(op Operation, opStart time.Time, props []Property, dims []Dimension, metrics []Metric)\n}\n```\n\n```go\ntype Metric struct {\n\tType  MetricType\n\tKey   string\n\tValue float64\n\tDims  []Dimension\n}\n```\n\n```go\nfunc Counter(name string, value float64, dims ...Dimension) Metric\n```\n\n```go\nfunc Timer(name string, duration time.Duration, dims ...Dimension) Metric\n```\n\n```go\ntype MetricType uint8\n```\n\n```go\nconst (\n\tCounterType MetricType = iota\n\tTimerType\n)\n```\n\n```go\ntype MockLogger struct {\n\tmock.Mock\n}\n```\n\n```go\nfunc NewMockLogger(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *MockLogger\n```\n\n```go\nfunc (_m *MockLogger) Close() error\n```\n\n```go\nfunc (_m *MockLogger) Log(op Operation, opStart time.Time, props []Tuple, dims []Tuple, metrics []Metric)\n```\n\n```go\ntype Operation string\n```\n\n```go\nconst (\n\tInitOp          Operation = \"Init\"\n\tInvokeOp        Operation = \"Invoke\"\n\tShutdownOp      Operation = \"Shutdown\"\n\tReserveOp       Operation = \"Reserve\"\n\tReconnectOp     Operation = \"Reconnect\"\n\tInvokePendingOp Operation = \"InvokePending\"\n)\n```\n\n```go\ntype Property = Tuple\n```\n\n```go\ntype Tuple struct {\n\tName  string\n\tValue string\n}\n```\n\n","path":"github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda-managed-instances/servicelogs","name":"servicelogs","synopsis":"","isRedistributable":true}
