All pastes #406834 Raw Edit

Something

public text v1 · immutable
·published 2007-03-22 18:52 UTC
rendered paste body
		private class LogTask
		{
			public bool m_Exit;
			public string m_Format;
			object[] m_Args;
			
			LogTask( bool exit, string taskFormat, params object[] args )
			{
				m_Exit = exit;
				if ( exit )
					return;
				else
				{
					m_Format = taskFormat;
					m_Args = args;
				}
			}
		}

		public void EnqueueTask( bool exit, LogLevel reqLevel, LogLevel level, string taskFormat, params object[] args )
		{
			if ( exit || reqLevel <= level )
			{
				LogTask task = new LogTask( exit, taskFormat, args );
				// Engines\Logging\StewsLog.cs(46,20): error CS0122: 'Server.Engines.Logging.LogPCQueue.LogTask.LogTask(bool, string, params object[])' is inaccessible due to its protection level
		...
		}