Class LogCommand

All Implemented Interfaces:
ICommand

public class LogCommand extends BaseJdmpviewCommand
Command to display all the currently installed Java util loggers. Allows you to selectively enable or disable them as well as set their logging levels.
  • Constructor Details

    • LogCommand

      public LogCommand()
  • Method Details

    • run

      public void run(String command, String[] args, IContext context, PrintStream out) throws CommandException
      Description copied from interface: ICommand
      Executes the command
      Parameters:
      command - Command string e.g. !j9x
      args - Arguments for command
      context - Context to work in
      out - PrintStream to write command output on
      Throws:
      CommandException - If there is any problem running the command (incorrect usage, CorruptData etc.)
    • printDetailedHelp

      public void printDetailedHelp(PrintStream out)
      Description copied from class: BaseJdmpviewCommand
      Print detailed help for a given command
      Specified by:
      printDetailedHelp in class BaseJdmpviewCommand
      Parameters:
      out - stream to write the output to