public void setLoglevel(LOGLEVEL loglevel)
	{
		if(loglevel == LOGLEVEL.Nothing)
		{
			logLevel = -1;
		}
		
		else if(loglevel == LOGLEVEL.Error)
		{
			logLevel = 0;
		}
		
		else if(loglevel == LOGLEVEL.Normal)
		{
			logLevel = 1;
		}
		
		else if(loglevel == LOGLEVEL.Debug)
		{
			logLevel = 2;
		}
		
		else
		{
			logLevel = 1;
		}
	}