Log some errors

Report a typo

Select all possible ways to log an error message.

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Example {
    private static final Logger LOG = LoggerFactory.getLogger(Example.class);

    public static void main(String[] args) {
        try {
            throw new RuntimeException("Kernel panic!");
        } catch (RuntimeException e) {
            _____________ // What can we place here?
        }
    }
}
Select one or more options from the list
___

Create a free account to access the full topic