Example #1
0
 /// <summary>Register some signal handlers.</summary>
 /// <param name="Log">The log4j logfile to use in the signal handlers.</param>
 public void Register(Log Log)
 {
     Register(LogAdapter.Create(Log));
 }
Example #2
0
 public _Runnable_673(LogAdapter Log, string classname, string hostname)
 {
     this.Log       = Log;
     this.classname = classname;
     this.hostname  = hostname;
 }
Example #3
0
 internal Handler(string name, LogAdapter Log)
 {
     this.Log    = Log;
     prevHandler = Signal.Handle(new Signal(name), this);
 }
Example #4
0
 /// <summary>Print a log message for starting up and shutting down</summary>
 /// <param name="clazz">the class of the server</param>
 /// <param name="args">arguments</param>
 /// <param name="Log">the target log object</param>
 public static void StartupShutdownMessage(Type clazz, string[] args, Logger Log)
 {
     StartupShutdownMessage(clazz, args, LogAdapter.Create(Log));
 }