Can't see blue color in terminal
I copied the code from logger plugin and made some changes to add an "actor" property for my convenience. If I pick Pterodactyl as the actor, it should display in the console with a red color. If I pick Discord, it should have a blue color. Pterodactyl appears as red color just fine, but Discord doesn't seem to have any color at all.
Here's the code: https://github.com/mallusrgreatv2/disactyl/blob/logger/src/lib/logger/LoggerLevel.ts#L60
I also added a console.log directly using blueBright() from colorette, and that seems to work fine.
GitHub
disactyl/src/lib/logger/LoggerLevel.ts at logger · mallusrgreatv2/d...
Contribute to mallusrgreatv2/disactyl development by creating an account on GitHub.

Solution:Jump to solution
This problem isn't really related to Sapphire because this is 100% your code and your own plugin. Since you're essentially making your own logger plugin, even something like the
console.whatever
is in your own code: https://github.com/mallusrgreatv2/disactyl/blob/52e62d2f5d864bad409d63954cbb69a195999994/src/lib/logger/Logger.ts#L88. You'll have to fix this on your own since it's so very specific to your own desires for the logger.
As for the location of the file, that's fine. It's pretty much free style, only it's recommended to not put it in root because that trips up GitHub's license detection....2 Replies
Solution
This problem isn't really related to Sapphire because this is 100% your code and your own plugin. Since you're essentially making your own logger plugin, even something like the
console.whatever
is in your own code: https://github.com/mallusrgreatv2/disactyl/blob/52e62d2f5d864bad409d63954cbb69a195999994/src/lib/logger/Logger.ts#L88. You'll have to fix this on your own since it's so very specific to your own desires for the logger.
As for the location of the file, that's fine. It's pretty much free style, only it's recommended to not put it in root because that trips up GitHub's license detection.