-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
yerstd
wants to merge
861
commits into
sirupsen:master
Choose a base branch
from
cgxxv:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
support caller manually #1175
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…upport windows 10 color support
`go build -tags appengine [...]` currently yields: ``` .../github.com/sirupsen/logrus/text_formatter.go:84:4: undefined: initTerminal ``` This change implements `initTerminal` for AppEngine builds.
Fix 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
Skip func type value in fields.
calls to `Fatal*` See sirupsen#813
…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
…velLogging Added TRACE level logging.
Title updates
fix logrus for go 1.14
Fix wrong caller
Signed-off-by: ialidzhikov <[email protected]>
update github.com/konsorten/go-windows-terminal-sequences dependency …
Change CRLF line endings to LF
…into thlacroix-disable-quotes
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.
Simplify checkIfTerminal for Windows
Add support for freebsd/arm64
… into Azer0s-feature/function-log
Function log
Update default formatter for new logger from JsonFormatter to TextFormatter
Update doc for new logger
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Support caller for someone who wants to locate the runtime.caller precisely and has a customed log themself based on the logrus.