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

support caller manually #1175

Open
wants to merge 861 commits into
base: master
Choose a base branch
from
Open

support caller manually #1175

wants to merge 861 commits into from

Conversation

yerstd
Copy link

@yerstd yerstd commented Sep 15, 2020

Support caller for someone who wants to locate the runtime.caller precisely and has a customed log themself based on the logrus.

dgsb and others added 30 commits September 16, 2018 10:20
`go build -tags appengine [...]` currently yields:

```
.../github.com/sirupsen/logrus/text_formatter.go:84:4: undefined: initTerminal
```

This change implements `initTerminal` for AppEngine builds.
Add missing module dependency for windows build
Add custom sorting function in text formatter
We skip those unprintable fields and an error field
instead of dropping the whole trace.

Fixes sirupsen#642
…nction.

This keeps backward compatibility for static declaration of logger
that does not specify `ExitFunc` field.
Implements sirupsen#813 - Add option to panic in `test.NewNullLogger`
Add an example for tracing global variable with hook
markphelps and others added 27 commits March 22, 2020 09:32
update github.com/konsorten/go-windows-terminal-sequences dependency …
Instead of relying on EnableVirtualTerminalProcessing from
github.com/konsorten/go-windows-terminal-sequences which just calls
GetConsoleMode, sets ENABLE_VIRTUAL_TERMINAL_PROCESSING and calls
SetConsoleMode with the new modified mode, implement it directly inside
checkIfTerminal. This also avoids the duplicate call to GetConsoleMode.
Add support for freebsd/arm64
Update default formatter for new logger from JsonFormatter to TextFormatter
Add an API to plug a custom buffer free item mangement system
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.