Classes | |
| interface | ILogEntry |
| class | LogEntry |
| class | LogEntryXML |
Enumerations | |
| enum | LogField { TIMESTAMP = ("TimeStamp",Long.class,"TimeStamp",'0'), ENTRYTYPE = ("Entry Type",LogTypeHelper.class,null,'1'), SOURCEOBJECT = ("Source Object",String.class,"SourceObject",'2'), FILE = ("File",String.class,"File",'3'), LINE = ("Line",Integer.class,"Line",'4'), ROUTINE = ("Routine",String.class,"Routine",'5'), HOST = ("Host",String.class,"Host",'6'), PROCESS = ("Process",String.class,"Process",'7'), CONTEXT = ("Context",String.class,"Context",'8'), THREAD = ("Thread",String.class,"Thread",'9'), LOGID = ("Log ID",String.class,"LogId",'A'), PRIORITY = ("Priority",Integer.class,"Priority",'B'), URI = ("URI",String.class,"URI",'C'), STACKID = ("Stack ID",String.class,"StackId",'D'), STACKLEVEL = ("Stack Level",Integer.class,"StackLevel",'E'), LOGMESSAGE = ("Log Message",String.class,null,'F'), AUDIENCE = ("Audience",String.class, "Audience",'G'), ARRAY = ("Array",String.class,"Array",'H'), ANTENNA = ("Antenna",String.class,"Antenna",'I') } |
| enum | LogTypeHelper { TRACE = (AcsLogLevelDefinition.TRACE,"Trace"), DEBUG = (AcsLogLevelDefinition.DEBUG,"Debug"), INFO = (AcsLogLevelDefinition.INFO,"Info"), NOTICE = (AcsLogLevelDefinition.NOTICE,"Notice"), WARNING = (AcsLogLevelDefinition.WARNING,"Warning"), ERROR = (AcsLogLevelDefinition.ERROR,"Error"), CRITICAL = (AcsLogLevelDefinition.CRITICAL,"Critical"), ALERT = (AcsLogLevelDefinition.ALERT,"Alert"), EMERGENCY = (AcsLogLevelDefinition.EMERGENCY,"Emergency") } |
An enumerated describing each field of the log. This allows to have all the attributes describing the fields written together limiting the chance of typos, errors and so on.
NOTE: before introducing this enum each filed had an integer, the entryType. This integer can be obtained with the ordinal() method of enum.
This class contains all the definitions needed for the log type. It means the constants, the strings describing the fields and the icons. This enum extends the AcsLogLevelDefinition with informations needed by the GUI
1.6.2