Package com.reposilite.journalist
Class Channel
java.lang.Object
com.reposilite.journalist.Channel
- All Implemented Interfaces:
Comparable<Channel>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ALL
Represents all logging level with positive priority. You cannot log to this channel, but you can use it as a lowest possible threshold. -
FATAL
-
ERROR
-
WARN
-
INFO
-
DEBUG
-
TRACE
-
-
Constructor Details
-
Channel
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Channel>
-
equals
-
hashCode
public int hashCode() -
toString
-
getIntention
Get the estimated intention of channel- Returns:
- channel intention
-
getPriority
public double getPriority()Get the priority of channel- Returns:
- channel priority
-
getName
Get the name of channel- Returns:
- channel name
-
of
Find channel using its string representation. This method supports only predefined channels.- Parameters:
channel- the channel to look for- Returns:
- the lookup result
-
getPredefinedChannels
Get predefined channels as set- Returns:
- a copy of predefined channels set
-