Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorConfig ¶
type ErrorConfig struct { ProjectID string ServiceName string ServiceVersion string OnError func(err error) UseSync bool }
ErrorConfig is config for Google Stackdriver error repoting client.
func (ErrorConfig) Config ¶
func (c ErrorConfig) Config() errorreporting.Config
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger use Google Stackdriver error repoting.
func New ¶
func New(ctx context.Context, errConfig ErrorConfig) (*Logger, error)
New creates initialized Logger.
func NewWithConfig ¶
NewWithConfig creates initialized Logger.
Click to show internal directories.
Click to hide internal directories.