Skip to content

Package io.github.qishr.cascara.common.util

Enum TraceLevel

java.lang.Object
        java.lang.Enum<io.github.qishr.cascara.common.util.CommandLine.TraceLevel>
                io.github.qishr.cascara.common.util.CommandLine.TraceLevel

Enclosing Class:
    io.github.qishr.cascara.common.util.CommandLine


public static final enum TraceLevel
extends Enum<TraceLevel>

Enumerates over the trace level values for filtering which internal debug statements should be printed.

Enum Constants

Enum Constant Description
OFF
WARN
INFO
DEBUG

Method Summary

Modifier and Type Method Description
public static TraceLevel[] values()
public static TraceLevel valueOf(String name)
public boolean isEnabled(TraceLevel other) Returns whether messages at the specified other trace level would be printed for the current trace level.

Enum Constant Details

OFF

public static final OFF


WARN

public static final WARN


INFO

public static final INFO


DEBUG

public static final DEBUG


Method Details

values

public static TraceLevel[] values()


valueOf

public static TraceLevel valueOf(String name)


isEnabled

public boolean isEnabled(TraceLevel other)

Returns whether messages at the specified other trace level would be printed for the current trace level.