BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.log.StickyLevel Class Reference
Inheritance diagram for eu.baltrad.dex.log.StickyLevel:

Public Member Functions

 StickyLevel (int level, String levelStr, int syslogEquivalent)
 

Static Public Member Functions

static StickyLevel toLevel (int val, Level defaultLevel)
 
static StickyLevel toLevel (String sArg, Level defaultLevel)
 

Static Public Attributes

static final StickyLevel STICKY
 

Detailed Description

Custom log level.

Author
Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
Version
1.7
Since
1.7

Constructor & Destructor Documentation

◆ StickyLevel()

eu.baltrad.dex.log.StickyLevel.StickyLevel ( int level,
String levelStr,
int syslogEquivalent )
inline

Constructor.

Parameters
level
levelStr
syslogEquivalent

Member Function Documentation

◆ toLevel() [1/2]

static StickyLevel eu.baltrad.dex.log.StickyLevel.toLevel ( int val,
Level defaultLevel )
inlinestatic

Convert an integer passed as argument to a level.

Parameters
valInteger
defaultLevelDefault level
Returns
Level

◆ toLevel() [2/2]

static StickyLevel eu.baltrad.dex.log.StickyLevel.toLevel ( String sArg,
Level defaultLevel )
inlinestatic

Convert string the passed as argument to a level.

Parameters
sArgString
defaultLevelDefault level
Returns
Level

Member Data Documentation

◆ STICKY

final StickyLevel eu.baltrad.dex.log.StickyLevel.STICKY
static
Initial value:
=
new StickyLevel(60000, "STICKY", 0)
StickyLevel(int level, String levelStr, int syslogEquivalent)
Definition StickyLevel.java:44

The documentation for this class was generated from the following file: