Class LogCommand
java.lang.Object
com.ibm.java.diagnostics.utils.commands.BaseCommand
com.ibm.jvm.dtfjview.commands.BaseJdmpviewCommand
com.ibm.jvm.dtfjview.commands.LogCommand
- All Implemented Interfaces:
ICommand
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.
-
Nested Class Summary
Nested classes/interfaces declared in class BaseJdmpviewCommand
BaseJdmpviewCommand.ArtifactType -
Field Summary
Fields declared in class BaseJdmpviewCommand
ctx, hexfmt, logger, outFields declared in class BaseCommand
COMMAND_FORMAT, config, nl, SUBCOMMAND_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPrint detailed help for a given commandvoidrun(String command, String[] args, IContext context, PrintStream out) Executes the commandMethods declared in class BaseJdmpviewCommand
decodeThreadState, getArtifactType, handleException, initCommand, toHexString, toHexString, toHexString, toHexString, toHexStringAddr, toLong, toString, toStringMethods declared in class BaseCommand
addCommand, addSubCommand, getCommandDescriptions, getCommandNames, getConfig, recognises, setConfig
-
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:ICommandExecutes the command- Parameters:
command- Command string e.g. !j9xargs- Arguments for commandcontext- Context to work inout- PrintStream to write command output on- Throws:
CommandException- If there is any problem running the command (incorrect usage, CorruptData etc.)
-
printDetailedHelp
Description copied from class:BaseJdmpviewCommandPrint detailed help for a given command- Specified by:
printDetailedHelpin classBaseJdmpviewCommand- Parameters:
out- stream to write the output to
-