Skip to content

Logging - Make title linkable to github file #856

@SquidXTV

Description

@SquidXTV

About

Currently the logging looks like this:

image
image

Idea

The title is always the name of the file which logged this message.
So my idea is to make it link to our github if the logged message/warning comes from one of our files.
Sometimes the logged message comes from an error and that links to other files like net.dv8tion.jda.internal.requests.WebSocketClient. In that case I would just ignore it and use the old logging without linking.

In the shown example for like org.togetherjava.tjbot.features.utils.LinkPreviews it would simply link to this page:
https://github.com/Together-Java/TJ-Bot/blob/master/application/src/main/java/org/togetherjava/tjbot/features/utils/LinkPreviews.java

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions