Syslog & SNMP Trap
In the aspects of Syslog and SNMP Trap,SourceView1.0 is immature.
I improved the two parts in SourceView2.0.
For Syslog,Priority is got first,then we compute Facility and
Severity according to Priority,rather than on the contrary.
Priority = Facility * 8 + Severity
As for SNMPTrap,I have new cognition too.The default trap processors
such as cold start,warm start,link down and link up etc,would give
their corresponding trap message when they receive SNMP trap.
Whenas,if the trap's generic is 6 (EnterpriseSpecific),we should develop
a new processor to translate its trap message.


I improved the two parts in SourceView2.0.
For Syslog,Priority is got first,then we compute Facility and
Severity according to Priority,rather than on the contrary.
Priority = Facility * 8 + Severity
As for SNMPTrap,I have new cognition too.The default trap processors
such as cold start,warm start,link down and link up etc,would give
their corresponding trap message when they receive SNMP trap.
Whenas,if the trap's generic is 6 (EnterpriseSpecific),we should develop
a new processor to translate its trap message.

