Skip to content

Conversation

@vito
Copy link
Owner

@vito vito commented May 5, 2022

  • (logf) and (errorf) were chucked in hastily without any plan really
  • formatting strings beget language spec / implementation complexity (currently tightly coupled to Go's fmt)
  • (log) and (error) now accept kwargs for arbitrary fields
  • structured logs are easier to write and easier to parse
  • structured errors are equally helpful

@vito vito added enhancement New feature or request breaking Removes or replaces previously supported functionality labels May 5, 2022
@vito vito merged commit e9b33e4 into main May 5, 2022
@vito vito deleted the structured-logs-errors branch May 5, 2022 02:46
@vito vito changed the title structured logs and errors, remove (logf) and (errorf) structured (log) and (error), remove (logf) and (errorf) May 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Removes or replaces previously supported functionality enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants