Enum BundleLogLevel
- java.lang.Object
-
- java.lang.Enum<BundleLogLevel>
-
- io.github.cdklabs.projen.javascript.BundleLogLevel
-
- All Implemented Interfaces:
Serializable,Comparable<BundleLogLevel>
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.160Z") @Stability(Experimental) public enum BundleLogLevel extends Enum<BundleLogLevel>
(experimental) Log levels for esbuild and package managers' install commands.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUG(experimental) Show everything from info and some additional messages for debugging.ERROR(experimental) Show errors only.INFO(experimental) Show warnings, errors, and an output file summary.SILENT(experimental) Show nothing.VERBOSE(experimental) Show everything.WARNING(experimental) Show warnings and errors.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BundleLogLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static BundleLogLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERBOSE
@Stability(Experimental) public static final BundleLogLevel VERBOSE
(experimental) Show everything.
-
DEBUG
@Stability(Experimental) public static final BundleLogLevel DEBUG
(experimental) Show everything from info and some additional messages for debugging.
-
INFO
@Stability(Experimental) public static final BundleLogLevel INFO
(experimental) Show warnings, errors, and an output file summary.
-
WARNING
@Stability(Experimental) public static final BundleLogLevel WARNING
(experimental) Show warnings and errors.
-
ERROR
@Stability(Experimental) public static final BundleLogLevel ERROR
(experimental) Show errors only.
-
SILENT
@Stability(Experimental) public static final BundleLogLevel SILENT
(experimental) Show nothing.
-
-
Method Detail
-
values
public static BundleLogLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BundleLogLevel c : BundleLogLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BundleLogLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-