Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Add gplog.FatalNoPanicLogStacktrace() #69

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

roicos
Copy link

@roicos roicos commented Sep 7, 2022

This function does not call panic() but still writes the stack trace into the log file,
so that the user has it for debugging purposes even if he is configured not to print it into the console.
This is the variation of FatalWithNoPanic(), which also does not call panic(), but swallows the stack trace.

@roicos roicos requested review from jimmyyih and kaknikhil September 7, 2022 23:28
 -  This function does not call panic() but still
    writes the stack trace into the log file, so that
    the user has it for debugging purposes even if he
    is configured not to print it into the console.
    This is the variation of FatalWithNoPanic(),
    which also does not call panic(), but swallows the stack trace.
@roicos roicos force-pushed the write-st-in-log-file branch from fb70d4d to a2ad054 Compare September 8, 2022 20:38
@roicos roicos marked this pull request as draft September 8, 2022 20:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant