Skip to content

Logging - Make title linkable to github file #856

Closed

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

Activity

  1. added
    enhancement
    on Jul 15, 2023
  2. self-assigned this
    on Jul 15, 2023
  3. SquidXTV commented on Jul 15, 2023

    @SquidXTV
    MemberAuthor

    Making titles like these clickable is possible right?

  4. Nxllpointer commented on Jul 15, 2023

    @Nxllpointer
    Contributor

    Great idea. Also yes you can specify an URL
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementpriority: low

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions