Exemplo n.º 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));
 }
Exemplo n.º 2
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));
 }