graphdebug

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 7 Imported by: 0

README

msgraph-sdk-go-debug-logger

This is NOT an official module! It should not be used in production. It is a debugging tool that can expose sensitive data (access tokens, PII, etc.).

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphDebugLogMiddleware

type GraphDebugLogMiddleware struct {
	// contains filtered or unexported fields
}

func NewGraphDebugLogMiddleware

func NewGraphDebugLogMiddleware(
	logger *log.Logger,
	showToken bool,
	showPayloads bool) *GraphDebugLogMiddleware

func (*GraphDebugLogMiddleware) Intercept

func (mw *GraphDebugLogMiddleware) Intercept(
	pipeline kiota.Pipeline,
	middlewareIndex int,
	req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL