public static void AddListener ( LogListener listener ) { lock (lockObj) { listeners.Add( listener ); } }