@ThreadSafe public final class AS4HttpDebug extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
debug(Supplier<? super String> aMsg)
Debug the provided string if
isEnabled(). |
static com.helger.xml.serialize.write.IXMLWriterSettings |
getDebugXMLWriterSettings() |
static boolean |
isEnabled() |
static void |
setEnabled(boolean bEnabled)
Enable or disable
|
public static void setEnabled(boolean bEnabled)
bEnabled - true to enabled, false to disablepublic static boolean isEnabled()
true if enabled, false if not.public static void debug(@Nonnull Supplier<? super String> aMsg)
isEnabled(). Uses the logger to log
to the consoleaMsg - The message supplier. May not be null. Invoked only if
isEnabled()@Nonnull public static com.helger.xml.serialize.write.IXMLWriterSettings getDebugXMLWriterSettings()
null.Copyright © 2015–2020 Philip Helger. All rights reserved.