The EventLogger class let you receive event logging generated by components by registering to the EventLog event.
Also the EventLogger class has methods to register custom channel to write the logs to by implementing the ILogginChannel interface
For an example, refer to Leadtools.Jpip.Server.JpipServer.