|
Revision 105:b55987db0833, 0.7 KB
(checked in by Chris Freeze <cfreeze@…>, 3 years ago)
|
|
saving trac pages in repository
|
| Line | |
|---|
| 1 | StormXmlSiren uses the standard logging facility provided by Python. This logging functionality is very similar to that of the Log4j. Currently the design is to use a named logging instance per object. While not all derived objects currently have logging instances, all base objects should. These base objects include the following: |
|---|
| 2 | |
|---|
| 3 | * root |
|---|
| 4 | * Config |
|---|
| 5 | * StormConfig |
|---|
| 6 | * AlertDevice |
|---|
| 7 | * XmlWeather |
|---|
| 8 | * StormWeather |
|---|
| 9 | * History |
|---|
| 10 | |
|---|
| 11 | No direct calls to print or other stdout or stderr facilities should be made in development, however sometimes this is unavoidable. One exception to this rule is the base Config class that may not have initated the logging facility yet, but may need to inform the user of particular circumstances. |
|---|