MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / Logger

Method Logger

pkg/lsp/server.go:535–537  ·  view source on GitHub ↗

Logger returns the server's logger instance. The logger is used for debugging and diagnostic output. It should write to a file or os.Stderr, never to os.Stdout (which is reserved for LSP protocol communication). Returns: - *log.Logger: The server's logger, or a logger that discards output if the s

()

Source from the content-addressed store, hash-verified

533//
534// server.Logger().Printf("Processing request: %s", method)
535func (s *Server) Logger() *log.Logger {
536 return s.logger
537}
538
539// SetShutdown marks the server for shutdown.
540//

Callers 9

handleInitializeMethod · 0.80
handleInitializedMethod · 0.80
handleShutdownMethod · 0.80
handleExitMethod · 0.80
handleDidOpenMethod · 0.80
handleDidChangeMethod · 0.80
handleDidCloseMethod · 0.80
handleDidSaveMethod · 0.80
validateDocumentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected