java.util.logging

Class LoggingPermission

public final class LoggingPermission extends BasicPermission

Constructor Summary
LoggingPermission(String name, String actions)
Creates a new LoggingPermission.

Constructor Detail

LoggingPermission

public LoggingPermission(String name, String actions)
Creates a new LoggingPermission.

Parameters: name the name of the permission, which must be "control". actions the list of actions for the permission, which must be either null or an empty string.

Throws: IllegalArgumentException if name is not "control", or actions is neither null nor empty.