Package io.github.cdklabs.projen
Interface LoggerOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LoggerOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.775Z") @Stability(Experimental) public interface LoggerOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Options for logging utilities.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLoggerOptions.BuilderA builder forLoggerOptionsstatic classLoggerOptions.Jsii$ProxyAn implementation forLoggerOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static LoggerOptions.Builderbuilder()default LogLevelgetLevel()(experimental) The logging verbosity.default BooleangetUsePrefix()(experimental) Include a prefix for all logging messages with the project name.
-
-
-
Method Detail
-
getLevel
@Stability(Experimental) @Nullable default LogLevel getLevel()
(experimental) The logging verbosity.The levels available (in increasing verbosity) are OFF, ERROR, WARN, INFO, DEBUG, and VERBOSE.
Default: LogLevel.INFO
-
getUsePrefix
@Stability(Experimental) @Nullable default Boolean getUsePrefix()
(experimental) Include a prefix for all logging messages with the project name.Default: false
-
builder
@Stability(Experimental) static LoggerOptions.Builder builder()
- Returns:
- a
LoggerOptions.BuilderofLoggerOptions
-
-