Skip to content

Conversation

chressie
Copy link
Contributor

@chressie chressie commented Mar 3, 2023

This change upstreams a number of changes since the last package update.

In particular this adds:

  • New exported APIs (see godoc for further details):

    • glog.VDepth
    • glog.InfoDepthf
    • glog.WarningDepthf
    • glog.ErrorDepthf
    • glog.FatalDepthf
    • glog.ExitDepthf
    • glog.Names
    • glog.NewStandardLogger
    • glog.Verbose.InfoDepth
    • glog.Verbose.InfoDepthf
    • glog.ErrNoLog
  • The -log_backtrace_at flag accepts now a comma-separated list of file:line locations.

  • The -vmodule flag accepts a new syntax to match the full path to a module instead of just the module name. See the updated package documentation.

  • A new internal/logsink package to support other outputs than files. Note: This package is internal, because we cannot guarantee at this point that the API remains stable.

More details at go/log-vs-glog (google-internal).

@chressie chressie requested a review from stapelberg March 3, 2023 12:36
This change upstreams a number of changes since the last package update.

In particular this adds:

- New exported APIs (see godoc for further details):
  - glog.VDepth
  - glog.InfoDepthf
  - glog.WarningDepthf
  - glog.ErrorDepthf
  - glog.FatalDepthf
  - glog.ExitDepthf
  - glog.Names
  - glog.NewStandardLogger
  - glog.Verbose.InfoDepth
  - glog.Verbose.InfoDepthf
  - glog.ErrNoLog

- The -log_backtrace_at flag accepts now a comma-separated list of file:line locations.

- The -vmodule flag accepts a new syntax to match the full path to a module instead of just the module name. See the updated package documentation.

- A new internal/logsink package to support other outputs than files. Note: This package is internal, because we cannot guarantee at this point that the API remains stable.

More details at go/log-vs-glog (google-internal).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants