We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this includes prefixing the source file that started the log
static func log_prefix(stack) -> String: if len(stack) > 1: var call_site = stack[1] var basename = call_site["source"].get_file().get_basename() var line_num = str(call_site.get("line", 0)) if call_site["source"].match("*/test/*"): return "{" + basename + ":" + line_num + "}: " elif call_site["source"].match("*/addons/*"): return "<" + basename + ":" + line_num + ">: " else: return "[" + basename + ":" + line_num + "]: " return ""
ref https://github.com/russmatney/log.gd/blob/main/addons/log/log.gd#L516-L527
and also print_rich when in the editor to use
[hint={tooltip text displayed on hover}]{text}[/hint]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this includes prefixing the source file that started the log
ref https://github.com/russmatney/log.gd/blob/main/addons/log/log.gd#L516-L527
and also print_rich when in the editor to use
[hint={tooltip text displayed on hover}]{text}[/hint]
)The text was updated successfully, but these errors were encountered: