Logging

The Impossible FX Java SDK uses the SLF4J framework for logging, allowing you to easily use a logging backend of your choice (Logback, Log4J, etc.).

To enable a simple Logger see the following example. See the SLF4J documentation for detailed usage.

System.setProperty(org.slf4j.impl.SimpleLogger.DEFAULT_LOG_LEVEL_KEY, "TRACE");
Logger logger = LoggerFactory.getLogger(Main.class);    

fx = FXRenderClient.builder()
    .withProvider(new StaticCredentialsProvider("UZGSHGAIUZAUI", "JHjkJHJdsd7HKJ765uFHGF65456XYZ))
    .withRegion(Regions.EU_WEST_1)
    .withLogLevel(LogLevel.HEADERS)
    .build();    

Terms of Use | © 2017, Impossible Software, or its affiliates. All rights reserved.