Package com.microsoft.playwright.impl
Class LoggingSupport
java.lang.Object
com.microsoft.playwright.impl.LoggingSupport
- Direct Known Subclasses:
ChannelOwner,SharedSelectors
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final booleanprivate static final DateTimeFormatter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static void(package private) static voidlogApiIfEnabled(String message) (package private) static voidlogWithTimestamp(String message) (package private) voidwithLogging(String apiName, Runnable code) (package private) <T> TwithLogging(String apiName, Supplier<T> code)
-
Field Details
-
isEnabled
private static final boolean isEnabled -
timestampFormat
-
-
Constructor Details
-
LoggingSupport
LoggingSupport()
-
-
Method Details
-
withLogging
-
withLogging
-
logWithTimestamp
-
logApiIfEnabled
-
logApi
-