org.jacorb.idl

Class Environment


public final class Environment
extends java.lang.Object

Method Summary

static org.apache.log.Priority
intToPriority(int priority)
intToPriority returns the priority level for a given integer.

Method Details

intToPriority

public static org.apache.log.Priority intToPriority(int priority)
intToPriority returns the priority level for a given integer. It is a copy of the method in util/LogKitLoggerFactory copied to ensure that the idl compiler can be standalone.

Parameters:
priority - an int value

Returns:
an org.apache.log.Priority value