A displayer is an output destination for logging. NeL provides several useful displayers by default. You have the ability to create a myriad of custom displayers to suit whatever your needs may be. For network services (any NeL application that inherits from IService or uses the NLNET_SERVICE_MAIN macro) you can configure which displayer to use by using the "WindowStyle" configuration variable.
Name | Style | Description |
---|---|---|
StdDisplayer | NONE (default on Unix) | This is a displayer that outputs to the standard output (console.) |
WinDisplayer | WIN (default on Windows) | This displayer uses MFC to format logging in a readable console. This displayer works on Windows only. |
GtkDisplayer | GTK (not compiled by default) | This displayer uses GTK to format logging primarily for Linux. |
MemDisplayer | N/A | This displayer displays into memory and can be dumped after, if necessary. |
FileDisplayer | N/A | This displayer displays output into a text file. |
MsgBoxDisplayer | N/A | This displays a string of text to a message box. This displayer works on Windows only. |
NetDisplayer | N/A | This displays logging to a logging service through the NLNET "LOG" message. |
missing image http://www.opennel.org/confluence/download/thumbnails/1376258/ns.JPG
missing image http://opennel.org/confluence/download/attachments/1376258/gtk_displayer_2.png