Skip to main content
The logger will log all actions that happen. To do this, use the state.Logger object in a route. The Logger object has a couple of functions that you can use. The most important are the following:
  • SystemLogf: System logging
  • JudgeLogf: Log something the judge does
  • AdminLogf: Log something the admin does
The logger will write to the backend’s memory, as well as the database. When the server restarts, Jury will load all logs from the database.

Example log output