Sha256: f41ec935f74943dc9202d52ed7a4eb74090878daf584a994fc28b23d5b4c2df4
Contents?: true
Size: 827 Bytes
Versions: 16
Compression:
Stored size: 827 Bytes
Contents
//go:build go1.18 // +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // This is an internal helper package to combine the complete logging APIs. package log import ( azlog "github.com/Azure/azure-sdk-for-go/sdk/azcore/log" "github.com/Azure/azure-sdk-for-go/sdk/internal/log" ) type Event = log.Event const ( EventRequest = azlog.EventRequest EventResponse = azlog.EventResponse EventRetryPolicy = azlog.EventRetryPolicy EventLRO = azlog.EventLRO ) func Write(cls log.Event, msg string) { log.Write(cls, msg) } func Writef(cls log.Event, format string, a ...interface{}) { log.Writef(cls, format, a...) } func SetListener(lst func(Event, string)) { log.SetListener(lst) } func Should(cls log.Event) bool { return log.Should(cls) }
Version data entries
16 entries across 16 versions & 1 rubygems