static function format_logline( PLUGError $Err ){
		if( PLUG::is_compiled() ){
			return sprintf(
				'%s: %s: %s', 
				basename(self::arg(0)), 
				$Err->getTypeString(), 
				$Err->getMessage()
			);
		}
		else {
			return sprintf(
				'%s: %s: %s in %s#%u', 
				basename(self::arg(0)), 
				$Err->getTypeString(), 
				$Err->getMessage(), 
				basename($Err->getFile()), 
				$Err->getLine()
			);
		}
	}
static function format_logline( PLUGError $Err ){
		if( PLUG::is_compiled() ){
			return sprintf(
				'%s: %s: %s', 
				basename(self::arg(0)), 
				$Err->getTypeString(), 
				$Err->getMessage()
			);
		}
		else {
			return sprintf(
				'%s: %s: %s in %s#%u', 
				basename(self::arg(0)), 
				$Err->getTypeString(), 
				$Err->getMessage(), 
				basename($Err->getFile()), 
				$Err->getLine()
			);
		}
	}
static function format_logline ( PLUGError $ Err ) { if ( PLUG :: is_compiled ( ) ) { return sprintf ( '%s: %s: %s' , basename ( self :: arg ( 0 ) ) , $ Err -> getTypeString ( ) , $ Err -> getMessage ( ) ) ; } else { return sprintf ( '%s: %s: %s in %s#%u' , basename ( self :: arg ( 0 ) ) , $ Err -> getTypeString ( ) , $ Err -> getMessage ( ) , basename ( $ Err -> getFile ( ) ) , $ Err -> getLine ( ) ) ; } }
Standard error logger printing to stderr with program name
Standard error logger printing to stderr with program name