Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glog: update glog to the latest internal version #59

Merged
merged 1 commit into from
Mar 3, 2023

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