the default logger can be overriden by setting the Logger data field in the Options. But when called from Forgejo this is inconvenient and it is best done via the context.
There already is support for getting the logger from the context but there is no function to set it. On that occasion the name of the functions are modified to be unified with what Forgejo uses.