Skip to content

support caller manually#1175

Open
cgxxv wants to merge 861 commits intosirupsen:masterfrom
RenovZ:master
Open

support caller manually#1175
cgxxv wants to merge 861 commits intosirupsen:masterfrom
RenovZ:master

Conversation

@cgxxv
Copy link

@cgxxv cgxxv 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
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
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.