Skip to content
This repository was archived by the owner on May 26, 2019. It is now read-only.

Logging Standards

AMMack26 edited this page Feb 6, 2016 · 30 revisions

When to Log

  • Initialization of a Command
  • Command interruption
  • Subsystem methods
  • The execute function of a Command when it doesn't repeat

When Not to Log

  • The execute function of a Command when it constantly repeats

How to Log

Add logger to top of class file like below. Replace with the class name.
Logger logger = Robot.getLogger(<Class>.class); -Use for all generic logging for a -or- Logger logger = Robot.getLogger(<String>); -

Clone this wiki locally