Discover Packages
github.com/anz-gordonj7/lspinternal
lsp
xlog
package
Version:
v0.0.0-...-aaa21aa
Opens a new window with list of versions in this module.
Published: Dec 6, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Level indicates the severity of the logging message.
Logger is a wrapper over a sink to provide a clean API over the core log
function.
New returns a logger for the provided sink.
Debugf is intended to be used only while debugging.
Errorf is intended for the logging of errors that we could not easily return
to the client but that caused problems internally.
Infof is intended for logging of messages that may help the user understand
the behavior or be useful in a bug report.
Sink is the interface to something that consumes logging messages.
This can be implemented and then registered with a context to control the
destination or formatting of logging.
StdSink is a Sink that writes to the standard log package.
Log implements Sink for the StdSink.
It writes the message using log.Print with a level based prefix.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.